The
MethodPredicate annotation is used to define a predicate method that
represents a condition for a rule.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional 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:
- array of field references which will be method arguments.
- Default:
- {}
-