public class IsTrue extends ProjectComponent implements Condition
Constructor and Description |
---|
IsTrue() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Is this condition true?
|
void |
setValue(boolean value)
set the value to be tested; let ant eval it to true/false
|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if someone forgot to spec a valuepublic void setValue(boolean value)
value
- the value to test