inria.meije.rc.sugarcubes
Class JavaCallbackNothing

java.lang.Object
  |
  +--inria.meije.rc.sugarcubes.JavaCallbackNothing
All Implemented Interfaces:
JavaCallback, java.io.Serializable

public final class JavaCallbackNothing
extends java.lang.Object
implements JavaCallback

This is a simple implementation of a JavaCallback action, which does nothing. It is typically used for debugging purpose to simplify reactions of a program.

See Also:
Serialized Form

Constructor Summary
JavaCallbackNothing()
           
 
Method Summary
 void execute(java.lang.Object self, LocalVariables vars, ReactiveEngine engine, Argument[] args)
          The execute method of this JavaCallback does nothing.
 java.lang.String toString()
          This method illustrates the fact that nothing is done in the string that is returned by the toString method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaCallbackNothing

public JavaCallbackNothing()
Method Detail

execute

public final void execute(java.lang.Object self,
                          LocalVariables vars,
                          ReactiveEngine engine,
                          Argument[] args)
The execute method of this JavaCallback does nothing.
Specified by:
execute in interface JavaCallback
Following copied from interface: inria.meije.rc.sugarcubes.JavaCallback
See Also:
Cube

toString

public final java.lang.String toString()
This method illustrates the fact that nothing is done in the string that is returned by the toString method.
Overrides:
toString in class java.lang.Object