com.oakgrovesystems.reactor
Interface PolicyScript

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
HelloWorldPolicy, ProcessStopper, TimerSetter

public interface PolicyScript
extends java.lang.Runnable


Method Summary
 void setNavigator(com.oakgrovesystems.util.Navigator navigator)
          Called when a Policy is executed to provide access to a Navigator for use within the script.
 void setPolicy(com.oakgrovesystems.reactor.processMediation.Policy thisPolicy)
          Called when a Policy is executed to provide access to the Reactor Policy object with which this script is associated.
 void setTriggeringEvent(com.oakgrovesystems.reactor.ReactorEvent triggeringEvent)
          Called when a Policy is executed to provide access to the event that triggered the execution.
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

setTriggeringEvent

public void setTriggeringEvent(com.oakgrovesystems.reactor.ReactorEvent triggeringEvent)
Called when a Policy is executed to provide access to the event that triggered the execution. If execution was not triggered by an event, this method is called with a null parameter.


setPolicy

public void setPolicy(com.oakgrovesystems.reactor.processMediation.Policy thisPolicy)
Called when a Policy is executed to provide access to the Reactor Policy object with which this script is associated.


setNavigator

public void setNavigator(com.oakgrovesystems.util.Navigator navigator)
Called when a Policy is executed to provide access to a Navigator for use within the script.



Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.