| Constructor | Description |
|---|---|
Equals() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
eval() |
Is this condition true?
|
void |
setArg1(java.lang.Object arg1) |
Set the first argument
|
void |
setArg1(java.lang.String a1) |
Set the first string
|
void |
setArg2(java.lang.Object arg2) |
Set the second argument
|
void |
setArg2(java.lang.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 void setArg1(java.lang.Object arg1)
arg1 - the first argument.public void setArg1(java.lang.String a1)
a1 - the first stringpublic void setArg2(java.lang.Object arg2)
arg2 - the second argument.public void setArg2(java.lang.String a2)
a2 - the second stringpublic void setTrim(boolean b)
b - if true trim the argumentspublic 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 boolean eval()
throws BuildException
Conditioneval in interface ConditionBuildException - if the attributes are not set correctly