Package jadex.rules.eca
Interface IRule<T>
-
- All Known Implementing Classes:
Rule
public interface IRule<T>
Interface for a rule. Has a - name - event types it reacts to - condition, lhs of the rule - action, rhs of the rule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAction<T>
getAction()
Get the action of the rule.ICondition
getCondition()
Get the condition of the rule.java.util.List<EventType>
getEvents()
Get the event types this rule reactes to.java.lang.String
getName()
Get the rule name.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the rule name.- Returns:
- The rule name.
-
getEvents
java.util.List<EventType> getEvents()
Get the event types this rule reactes to.- Returns:
- The event types.
-
getCondition
ICondition getCondition()
Get the condition of the rule.- Returns:
- The condition.
-
-