public class IsTrue extends ProjectComponent implements Condition
description, location, project
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 void setValue(boolean value)
value
- the value to testpublic boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if someone forgot to spec a value