public interface CustomOperator
| Modifier and Type | Method and Description |
|---|---|
FunctionDefinition |
getOperatorFunctionDefinition()
gets the
FunctionDefinition for the function that will be
evaluated at rule execution time. |
List<RemotableAttributeError> |
validateOperandClasses(String lhsClassName,
String rhsClassName)
Validates that the given operand classes are acceptable for the custom function.
|
FunctionDefinition getOperatorFunctionDefinition()
FunctionDefinition for the function that will be
evaluated at rule execution time. Note that the backing FunctionTypeService must be locally available to the
application at execution time, as execution objects in KRMS can not be obtained over the service bus.
The FunctionDefinition returned by this method must have a return type of java.lang.Boolean, and must have
either one or two FunctionParameterDefinitions.List<RemotableAttributeError> validateOperandClasses(String lhsClassName, String rhsClassName)
Note that the attribute name in returned errors will be ignored.
If only a single operand has been specified, then rhsClassName will be null.
lhsClassName - the class name for the left hand side operandrhsClassName - the class name for the right hand side operandCopyright © 2005–2016 The Kuali Foundation. All rights reserved.