java.lang.Cloneable, Conditionpublic class ScriptCondition extends AbstractScriptComponent implements Condition
description, location, project| Constructor | Description |
|---|---|
ScriptCondition() |
| Modifier and Type | Method | 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, setSrcequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, 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