com.izforge.izpack.rules
Class PackselectionCondition

java.lang.Object
  extended by com.izforge.izpack.rules.Condition
      extended by com.izforge.izpack.rules.PackselectionCondition
All Implemented Interfaces:
java.io.Serializable

public class PackselectionCondition
extends Condition

Version:
$Id: PackselectionCondition.java,v 1.1 2006/11/03 13:03:26 dennis Exp $
Author:
Dennis Reil,
See Also:
Serialized Form

Field Summary
protected  java.lang.String packid
           
private static long serialVersionUID
           
 
Fields inherited from class com.izforge.izpack.rules.Condition
id, installdata
 
Constructor Summary
PackselectionCondition()
           
 
Method Summary
 java.lang.String getDependenciesDetails()
           
 boolean isTrue()
           
private  boolean isTrue(java.util.Properties variables)
           
private  boolean isTrue(java.util.Properties variables, java.util.List selectedpacks)
           
 void makeXMLData(IXMLElement conditionRoot)
          This element will be called by the RulesEngine to serialize the configuration of a condition into XML.
 void readFromXML(IXMLElement xmlcondition)
           
 
Methods inherited from class com.izforge.izpack.rules.Condition
getId, getInstalldata, setId, setInstalldata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

packid

protected java.lang.String packid
Constructor Detail

PackselectionCondition

public PackselectionCondition()
Method Detail

isTrue

private boolean isTrue(java.util.Properties variables)

readFromXML

public void readFromXML(IXMLElement xmlcondition)
Specified by:
readFromXML in class Condition

isTrue

private boolean isTrue(java.util.Properties variables,
                       java.util.List selectedpacks)

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 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