public interface Rule
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<Goal> |
apply(Goal goal,
Services services,
RuleApp ruleApp)
the rule is applied on the given goal using the
information of rule application.
|
java.lang.String |
displayName()
returns the display name of the rule
|
Name |
name()
the name of the rule
|
ImmutableList<Goal> apply(Goal goal, Services services, RuleApp ruleApp) throws RuleAbortException
goal - the Goal on which to apply ruleAppservices - the Services with the necessary information
about the java programsruleApp - the rule application to be executedjava.lang.ExceptionRuleAbortExceptionName name()
java.lang.String displayName()