Package ise.antelope.tasks
Class IsGreaterThan
java.lang.Object
org.apache.tools.ant.taskdefs.condition.Equals
ise.antelope.tasks.IsGreaterThan
- All Implemented Interfaces:
org.apache.tools.ant.taskdefs.condition.Condition
public class IsGreaterThan
extends org.apache.tools.ant.taskdefs.condition.Equals
Extends Equals condition to test if the first argument is greater than the
second argument. Will deal with base 10 integer and decimal numbers, otherwise,
treats arguments as Strings.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.tools.ant.taskdefs.condition.Equals
setArg1, setArg2, setForcestring
-
Constructor Details
-
IsGreaterThan
public IsGreaterThan()
-
-
Method Details
-
setArg1
- Overrides:
setArg1
in classorg.apache.tools.ant.taskdefs.condition.Equals
-
setArg2
- Overrides:
setArg2
in classorg.apache.tools.ant.taskdefs.condition.Equals
-
setTrim
public void setTrim(boolean b) Should we want to trim the arguments before comparing them?- Overrides:
setTrim
in classorg.apache.tools.ant.taskdefs.condition.Equals
- Since:
- Revision: 1.3, Ant 1.5
-
setCasesensitive
public void setCasesensitive(boolean b) Should the comparison be case sensitive?- Overrides:
setCasesensitive
in classorg.apache.tools.ant.taskdefs.condition.Equals
- Since:
- Revision: 1.3, Ant 1.5
-
eval
public boolean eval() throws org.apache.tools.ant.BuildException- Specified by:
eval
in interfaceorg.apache.tools.ant.taskdefs.condition.Condition
- Overrides:
eval
in classorg.apache.tools.ant.taskdefs.condition.Equals
- Throws:
org.apache.tools.ant.BuildException
-