| Constructor and Description | 
|---|
| Equals() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | eval()Is this condition true? | 
| void | setArg1(Object arg1)Set the first argument | 
| void | setArg1(String a1)Set the first string | 
| void | setArg2(Object arg2)Set the second argument | 
| void | setArg2(String a2)Set the second string | 
| void | setCasesensitive(boolean b)Should the comparison be case sensitive? | 
| void | setForcestring(boolean forcestring)Set whether to force string comparisons for non-equal, non-string objects. | 
| void | setTrim(boolean b)Should we want to trim the arguments before comparing them? | 
public boolean eval()
             throws BuildException
Conditioneval in interface ConditionBuildException - if the attributes are not set correctlypublic void setArg1(Object arg1)
arg1 - the first argument.public void setArg1(String a1)
a1 - the first stringpublic void setArg2(Object arg2)
arg2 - the second argument.public void setArg2(String a2)
a2 - the second stringpublic void setCasesensitive(boolean b)
b - if true use a case sensitive comparison (this is the
          default)public void setForcestring(boolean forcestring)
forcestring - value to setpublic void setTrim(boolean b)
b - if true trim the arguments