org.kuali.rice.krms.framework.engine.expression
Class ConstantExpression<T>

java.lang.Object
  extended by org.kuali.rice.krms.framework.engine.expression.ConstantExpression<T>
All Implemented Interfaces:
Expression<T>

public final class ConstantExpression<T>
extends Object
implements Expression<T>

The Expression used in Construction will be returned when invoked with any given ExecutionEnvironment

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ConstantExpression(T value)
          Create a ConstantExpression with the given value
 
Method Summary
 T invoke(ExecutionEnvironment environment)
          Invoke on the given ExecutionEnvironment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantExpression

public ConstantExpression(T value)
Create a ConstantExpression with the given value

Parameters:
value - to set the value to
Method Detail

invoke

public T invoke(ExecutionEnvironment environment)
Description copied from interface: Expression
Invoke on the given ExecutionEnvironment.

Specified by:
invoke in interface Expression<T>
Parameters:
environment - ExecutionEnvironment to invoke on.
Returns:
T


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.