org.kuali.rice.krms.framework.engine.expression
Class ConstantExpression<T>
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantExpression
public ConstantExpression(T value)
- Create a ConstantExpression with the given value
- Parameters:
value
- to set the value to
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-2013 The Kuali Foundation. All Rights Reserved.