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,
List<Expression<? extends Object>> arguments)
- Create a FunctionExpression with the given values.
- Parameters:
function
- Function
to be invoked using the invoked results of the given List of Expression
sarguments
- List of Expression
s to be invoked whose results (of the given ExecutionEnvironment
)
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-2012 The Kuali Foundation. All Rights Reserved.