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
Modifier and TypeMethodDescriptionGet the action of the rule.Get the condition of the rule.Get the event types this rule reactes to.getName()
Get the rule name.
-
Method Details
-
getName
String getName()Get the rule name.- Returns:
- The rule name.
-
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.
-
getAction
Get the action of the rule.- Returns:
- The action.
-