|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AntTarget
Represents a target node in a build file
AntNode| Method Summary | |
|---|---|
void |
addDepends(String target,
int position)
Adds a target dependency to this target |
void |
addIf(String property,
int position)
Adds a property that must be set in order for this target to execute |
void |
addUnless(String property,
int position)
Adds a property that must not be set in order for this target to execute |
String[] |
getDepends()
Gets any targets this target depends on executing first |
String[] |
getIf()
Gets any properties that must be set for this target to execute |
String[] |
getUnless()
Gets any properties that must not be set for this target to execute |
void |
removeDepends(int position)
Removes a target dependency from this target |
void |
removeDepends(String target)
Removes a target dependency from this target |
void |
removeIf(int position)
Removes a property that must be set in order for this target to execute |
void |
removeIf(String property)
Removes a property that must be set in order for this target to execute |
void |
removeUnless(int position)
Removes a property that must not be set in order for this target to execute |
void |
removeUnless(String property)
Removes a property that must not be set in order for this target to execute |
| Methods inherited from interface antsnest.datastructure.AntNode |
|---|
addAttribute, addAttribute, addNode, addNode, changeAttribute, cloneNode, getAttribute, getAttribute, getAttributeSize, getData, getDescription, getIDPool, getName, getNode, getNodeID, getNodeSize, getNodeText, getParent, getType, getTypeAt, indexOfAttribute, indexOfNode, moveAttribute, moveNode, removeAttribute, removeAttribute, removeNode, removeNode, setData, setDescription, setIDPool, setName, setNodeID, setParent |
| Method Detail |
|---|
String[] getDepends()
void addDepends(String target,
int position)
target - the dependency nameposition - where the dependency should be placed in the listvoid removeDepends(String target)
target - the dependency name to removevoid removeDepends(int position)
position - the index of the dependency to removeString[] getIf()
void addIf(String property,
int position)
property - the property name to addposition - where the property should be placed in the listvoid removeIf(String property)
property - the property name to removevoid removeIf(int position)
position - the index of the property to removeString[] getUnless()
void addUnless(String property,
int position)
property - the property name to addposition - where the property should be placed in the listvoid removeUnless(String property)
property - the property name to removevoid removeUnless(int position)
position - the index of the property to remove
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||