org.jicengine.operation
Class StaticValue

java.lang.Object
  extended byorg.jicengine.operation.ParameterlessOperation
      extended byorg.jicengine.operation.StaticValue
All Implemented Interfaces:
Operation

public class StaticValue
extends ParameterlessOperation

Author:
.timo

Constructor Summary
StaticValue(java.lang.Object value)
           
 
Method Summary
 java.lang.Object execute(Context context)
           executes the operation in a given context. objects in the context might be used in evaluation, or operation could produce more objects into the context.
 
Methods inherited from class org.jicengine.operation.ParameterlessOperation
needsParameter, needsParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticValue

public StaticValue(java.lang.Object value)
Method Detail

execute

public java.lang.Object execute(Context context)
Description copied from interface: Operation

executes the operation in a given context. objects in the context might be used in evaluation, or operation could produce more objects into the context.

NOTE: operations must be re-executable.