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, setEncoding, setLanguage, setManager, setProject, setSetBeans, setSrcclone, getDescription, getLocation, getProject, log, log, setDescription, setLocationpublic boolean eval()
throws BuildException
eval in interface ConditionBuildException - if an error occurspublic boolean getValue()
public void setValue(boolean value)
value - the value to set the condition to