org.kuali.rice.krms.framework.engine.expression
Class FunctionExpression
java.lang.Object
org.kuali.rice.krms.framework.engine.expression.FunctionExpression
- All Implemented Interfaces:
- Expression<Object>
public final class FunctionExpression
- extends Object
- implements Expression<Object>
An implementation of Expression
which invokes a Function
with the results of the invocation of the given
List of Expression
s (of the given ExecutionEnvironment
).
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionExpression
public FunctionExpression(Function function,
String[] parameterTypes,
List<Expression<? extends Object>> parameters,
ComparisonOperatorService comparisonOperatorService)
- Create a FunctionExpression with the given values.
- Parameters:
function
- Function
to be invoked using the invoked results of the given List of Expression
sparameterTypes
- the full class names for the function's parameter types in sequential orderparameters
- List of Expression
s to be invoked whose results (of the given ExecutionEnvironment
)comparisonOperatorService
- -- TODO:
will be used to invoke the given Function
.
invoke
public Object invoke(ExecutionEnvironment environment)
- Description copied from interface:
Expression
- Invoke on the given
ExecutionEnvironment
.
- Specified by:
invoke
in interface Expression<Object>
- Parameters:
environment
- ExecutionEnvironment
to invoke on.
- Returns:
- T
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.