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 Expressions (of the given ExecutionEnvironment).
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • FunctionExpression

      public FunctionExpression(Function function, String[] parameterTypes, List<Expression<? extends Object>> parameters, org.kuali.rice.krms.api.engine.expression.ComparisonOperatorService comparisonOperatorService)
      Create a FunctionExpression with the given values.
      Parameters:
      function - Function to be invoked using the invoked results of the given List of Expressions
      parameterTypes - the full class names for the function's parameter types in sequential order
      parameters - List of Expressions to be invoked whose results (of the given ExecutionEnvironment)
      comparisonOperatorService - -- TODO: will be used to invoke the given Function.
  • Method Details

    • invoke

      public Object invoke(org.kuali.rice.krms.api.engine.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