|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.policy.HelloWorldPolicy
This class is intended to be used as a Reactor Policy, such that when the Policy is executed, message is printed to System.out.
Constructor Summary | |
HelloWorldPolicy()
|
Method Summary | |
void |
run()
|
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HelloWorldPolicy()
Method Detail |
public void setTriggeringEvent(com.oakgrovesystems.reactor.ReactorEvent triggeringEvent)
PolicyScript
setTriggeringEvent
in interface PolicyScript
public void setPolicy(com.oakgrovesystems.reactor.processMediation.Policy thisPolicy)
PolicyScript
setPolicy
in interface PolicyScript
public void setNavigator(com.oakgrovesystems.util.Navigator navigator)
PolicyScript
setNavigator
in interface PolicyScript
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |