Constructor and Description |
---|
ResourceContains() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Evaluates the condition.
|
Project |
getProject()
Get this condition's Project.
|
void |
setCasesensitive(boolean casesensitive)
Sets case sensitivity attribute.
|
void |
setProject(Project project)
Set this condition's Project.
|
void |
setRefid(String refid)
Sets the refid to search; should indicate a resource directly
or by way of a single-element ResourceCollection.
|
void |
setResource(String r)
Sets the resource to search
|
void |
setSubstring(String substring)
Sets the substring to look for
|
public boolean eval() throws BuildException
eval
in interface Condition
BuildException
- if there is a problem.public Project getProject()
public void setCasesensitive(boolean casesensitive)
casesensitive
- the value to use.public void setProject(Project project)
project
- Projectpublic void setRefid(String refid)
refid
- the value to use.public void setResource(String r)
r
- the value to use.public void setSubstring(String substring)
substring
- the value to use.