public abstract class Condition extends Object implements Serializable
| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDependenciesDetails() |
String |
getId() |
InstallData |
getInstallData() |
abstract Set<String> |
getVarRefs()
This element will be called when the order of variable resolutions is
determined.
|
abstract boolean |
isTrue() |
abstract void |
makeXMLData(IXMLElement conditionRoot)
This element will be called by the RulesEngine to serialize the configuration
of a condition into XML.
|
abstract void |
readFromXML(IXMLElement xmlcondition)
Parse and initialize this condition from parsed values.
|
void |
setId(String id) |
void |
setInstallData(InstallData installData) |
public String getId()
public void setId(String id)
id - the id to setpublic abstract void readFromXML(IXMLElement xmlcondition) throws Exception
xmlcondition - the root element to parse fromException - on a parse errorpublic abstract boolean isTrue()
public InstallData getInstallData()
public void setInstallData(InstallData installData)
public String getDependenciesDetails()
public abstract void makeXMLData(IXMLElement conditionRoot)
conditionRoot - the root element for this conditionCopyright © 2001–2025. All rights reserved.