public class ScriptCondition extends AbstractScriptComponent implements Condition
description, location, project
Constructor and Description |
---|
ScriptCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Is this condition true?
|
boolean |
getValue()
get the current value of the condition
|
void |
setValue(boolean value)
set the value of the condition.
|
addText, createClasspath, executeScript, getRunner, initScriptRunner, setClasspath, setClasspathRef, setLanguage, setManager, setProject, setSetBeans, setSrc
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation
public boolean eval() throws BuildException
eval
in interface Condition
BuildException
- if an error occurspublic boolean getValue()
public void setValue(boolean value)
value
- the value to set the condition to