The
MethodPredicate annotation is used to define a predicate method that
represents a condition for a rule.-
Required Element Summary
Required Elements
-
Element Details
-
method
String methodName of the method that will represent an LHS condition.- Returns:
- name of the method
-
args
String[] argsSpecifies which fact fields are to be passed to the method as its arguments. The corresponding field types must match the method's signature.- Returns:
- non-empty array of field references which will be method arguments.
-