com.izforge.izpack.rules
Class AndCondition
java.lang.Object
com.izforge.izpack.rules.Condition
com.izforge.izpack.rules.AndCondition
- All Implemented Interfaces:
- java.io.Serializable
public class AndCondition
- extends Condition
Defines a condition where both operands have to be true
- 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
leftoperand
protected Condition leftoperand
rightoperand
protected Condition rightoperand
AndCondition
public AndCondition()
AndCondition
public AndCondition(Condition operand1,
Condition operand2,
AutomatedInstallData installdata)
readFromXML
public void readFromXML(IXMLElement xmlcondition)
- Specified by:
readFromXML in class Condition
isTrue
public boolean isTrue()
- Specified by:
isTrue in class Condition
getDependenciesDetails
public java.lang.String getDependenciesDetails()
- Overrides:
getDependenciesDetails in class Condition
makeXMLData
public void makeXMLData(IXMLElement root)
- 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:
root - the root element for this condition