com.izforge.izpack.rules
Class JavaCondition
java.lang.Object
com.izforge.izpack.rules.Condition
com.izforge.izpack.rules.JavaCondition
- All Implemented Interfaces:
- java.io.Serializable
public class JavaCondition
- extends Condition
A condition based on the value of a static java field or static java method.
- Author:
- Dennis Reil,
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
classname
protected java.lang.String classname
methodname
protected java.lang.String methodname
fieldname
protected java.lang.String fieldname
complete
protected boolean complete
returnvalue
protected java.lang.String returnvalue
returnvaluetype
protected java.lang.String returnvaluetype
usedclass
protected java.lang.Class usedclass
usedfield
protected java.lang.reflect.Field usedfield
usedmethod
protected java.lang.reflect.Method usedmethod
JavaCondition
public JavaCondition()
isTrue
public boolean isTrue()
- Specified by:
isTrue in class Condition
readFromXML
public void readFromXML(IXMLElement xmlcondition)
- Specified by:
readFromXML in class Condition
makeXMLData
public void makeXMLData(IXMLElement conditionRoot)
- Description copied from class:
Condition
- This element will be called by the RulesEngine to serialize the configuration
of a condition into XML.
- Specified by:
makeXMLData in class Condition
- Parameters:
conditionRoot - the root element for this condition
getDependenciesDetails
public java.lang.String getDependenciesDetails()
- Overrides:
getDependenciesDetails in class Condition