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(String string)
The string to search in.
|
void |
setSubstring(String subString)
The string to search for.
|
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if the attributes are not set correctlypublic void setCasesensitive(boolean b)
b
- if false, ignore casepublic void setString(String string)
string
- the string to search inpublic void setSubstring(String subString)
subString
- the string to search for