|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.condition.ConditionBase
Baseclass for the <condition> task as well as several conditions - ensures that the types of conditions inside the task and the "container" conditions are in sync.
Constructor Summary | |
ConditionBase()
|
Method Summary | |
void |
addAnd(And a)
Add an <and> condition "container". |
void |
addAvailable(Available a)
Add an <available> condition. |
void |
addEquals(Equals e)
Add an <equals> condition. |
void |
addNot(Not n)
Add an <not> condition "container". |
void |
addOr(Or o)
Add an <or> condition "container". |
void |
addOs(Os o)
Add an <os> condition. |
void |
addUptodate(UpToDate u)
Add an <uptodate> condition. |
protected int |
countConditions()
Count the conditions. |
protected java.util.Enumeration |
getConditions()
Iterate through all conditions. |
protected Project |
getProject()
|
void |
setProject(Project p)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConditionBase()
Method Detail |
public void setProject(Project p)
protected Project getProject()
protected int countConditions()
protected final java.util.Enumeration getConditions()
public void addAvailable(Available a)
public void addUptodate(UpToDate u)
public void addNot(Not n)
public void addAnd(And a)
public void addOr(Or o)
public void addEquals(Equals e)
public void addOs(Os o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |