| java.lang.Object com.izforge.izpack.rules.RulesEngine
RulesEngine | public class RulesEngine (Code) | | The rules engine class is the central point for checking conditions
author: Dennis Reil, created: 09.11.2006, 13:48:39 |
conditionsmap | protected static Map conditionsmap(Code) | | |
canInstallPack | public boolean canInstallPack(String packid, Properties variables)(Code) | | Is the installation of a pack possible?
Parameters: packid - Parameters: variables - true - there is no condition or condition is met false - there is a condition and thecondition was not met |
canInstallPackOptional | public boolean canInstallPackOptional(String packid, Properties variables)(Code) | | Is an optional installation of a pack possible if the condition is not met?
Parameters: packid - Parameters: variables - |
canShowPanel | public boolean canShowPanel(String panelid, Properties variables)(Code) | | Can a panel be shown?
Parameters: panelid - - id of the panel, which should be shown Parameters: variables - - the variables true - there is no condition or condition is met false - there is a condition and thecondition was not met |
checkAttribute | protected boolean checkAttribute(String val, String attribute, String element)(Code) | | Checks if an attribute for an xmlelement is set.
Parameters: val - value of attribute to check Parameters: attribute - the attribute which is checked Parameters: element - the element true value was set false no value was set |
getKnownConditionIds | public String[] getKnownConditionIds()(Code) | | Returns the current known condition ids.
|
isConditionTrue | public boolean isConditionTrue(String id)(Code) | | |
readConditions | protected void readConditions()(Code) | | Read the spec for the conditions
|
|
|