gsim.core.objects
Interface RuleIF
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- RLActionNodeIF, SelectionNodeIF
public interface RuleIF
- extends java.io.Serializable
getName
java.lang.String getName()
throws GSimObjectException
- Throws:
GSimObjectException
getConditions
ConditionIF[] getConditions()
throws GSimObjectException
- Throws:
GSimObjectException
getConsequents
ActionIF[] getConsequents()
throws GSimObjectException
- Throws:
GSimObjectException
getConsequent
ActionIF getConsequent(java.lang.String actionName)
throws GSimObjectException
- Throws:
GSimObjectException
addOrSetCondition
void addOrSetCondition(ConditionIF cond)
throws GSimObjectException
- Throws:
GSimObjectException
removeCondition
void removeCondition(ConditionIF cond)
throws GSimObjectException
- Throws:
GSimObjectException
addOrSetConsequent
void addOrSetConsequent(ActionIF cons)
throws GSimObjectException
- Throws:
GSimObjectException
removeConsequent
void removeConsequent(ActionIF cons)
throws GSimObjectException
- Throws:
GSimObjectException
isActivated
boolean isActivated()
throws GSimObjectException
- Throws:
GSimObjectException
setActivated
void setActivated(boolean b)
throws GSimObjectException
- Throws:
GSimObjectException
createCondition
ConditionIF createCondition(java.lang.String paramName,
java.lang.String op,
java.lang.String val)
throws GSimObjectException
- Throws:
GSimObjectException