Class FunctionExpression
java.lang.Object
org.kuali.rice.krms.framework.engine.expression.FunctionExpression
- All Implemented Interfaces:
Expression<Object>
An implementation of
Expression which invokes a Function with the results of the invocation of the given
List of Expressions (of the given ExecutionEnvironment).- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionExpression(Function function, String[] parameterTypes, List<Expression<? extends Object>> parameters, ComparisonOperatorService comparisonOperatorService) Create a FunctionExpression with the given values. -
Method Summary
Modifier and TypeMethodDescriptioninvoke(ExecutionEnvironment environment) Invoke on the givenExecutionEnvironment.
-
Constructor Details
-
FunctionExpression
public FunctionExpression(Function function, String[] parameterTypes, List<Expression<? extends Object>> parameters, ComparisonOperatorService comparisonOperatorService) Create a FunctionExpression with the given values.- Parameters:
function-Functionto be invoked using the invoked results of the given List ofExpressionsparameterTypes- the full class names for the function's parameter types in sequential orderparameters- List ofExpressions to be invoked whose results (of the givenExecutionEnvironment)comparisonOperatorService- -- TODO: will be used to invoke the givenFunction.
-
-
Method Details
-
invoke
Description copied from interface:ExpressionInvoke on the givenExecutionEnvironment.- Specified by:
invokein interfaceExpression<Object>- Parameters:
environment-ExecutionEnvironmentto invoke on.- Returns:
- T
-