Constructor and Description |
---|
Contains() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Is this condition true?
|
void |
setCasesensitive(boolean b)
Whether to search ignoring case or not.
|
void |
setString(java.lang.String string)
The string to search in.
|
void |
setSubstring(java.lang.String subString)
The string to search for.
|
public void setString(java.lang.String string)
string
- the string to search inpublic void setSubstring(java.lang.String subString)
subString
- the string to search forpublic void setCasesensitive(boolean b)
b
- if false, ignore casepublic boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if the attributes are not set correctly