|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.condition.AntVersion
public class AntVersion
An Ant version condition.
| Constructor Summary | |
|---|---|
AntVersion()
|
|
| Method Summary | |
|---|---|
boolean |
eval()
Evalute the condition. |
java.lang.String |
getAtLeast()
Get the atleast attribute. |
java.lang.String |
getExactly()
Get the exactly attribute. |
void |
setAtLeast(java.lang.String atLeast)
Set the atleast attribute. |
void |
setExactly(java.lang.String exactly)
Set the exactly attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntVersion()
| Method Detail |
|---|
public boolean eval()
throws BuildException
eval in interface ConditionBuildException - if an error occurs.public java.lang.String getAtLeast()
public void setAtLeast(java.lang.String atLeast)
atLeast - the version to check against.public java.lang.String getExactly()
public void setExactly(java.lang.String exactly)
exactly - the version to check against.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||