lij.runtime
Class DefInstance.DefAgentInstance

java.lang.Object
  extended by lij.runtime.DefInstance
      extended by lij.runtime.DefInstance.DefAgentInstance
Enclosing class:
DefInstance

private static class DefInstance.DefAgentInstance
extends DefInstance

A DefInstance subclass for AGENT (i.e. role switch) events.


Field Summary
 
Fields inherited from class lij.runtime.DefInstance
agent, def, interpreter
 
Constructor Summary
private DefInstance.DefAgentInstance()
           
 
Method Summary
 Result.State executeEvent()
          This method needs to be implemented by any subclasses.
 
Methods inherited from class lij.runtime.DefInstance
createDefInstance, execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefInstance.DefAgentInstance

private DefInstance.DefAgentInstance()
Method Detail

executeEvent

public Result.State executeEvent()
                          throws InterpreterException
Description copied from class: DefInstance
This method needs to be implemented by any subclasses. It performs the execution of the actual event associated with this Def.

Specified by:
executeEvent in class DefInstance
Returns:
The result of the execution (TRUE, FALSE or MAYBE).
Throws:
InterpreterException