|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pain.logic.Trigger
Base class for all trigger logic impls (controller over persistent TriggerData). This class is linked statically, all it's subclasses should be located in ...logic.triggers(.impl) package (see CodebaseLauncher properties). and will be linked dynamically (will be reloaded on LogicLoader.reload() call)
Field Summary | |
protected TriggerData |
td
|
Constructor Summary | |
Trigger(TriggerData td)
Constructor used to create trigger with existing model: persistent TriggerData object required for all subclasses |
Method Summary | |
abstract int |
getTriggerEventType()
|
abstract Trigger |
newInstance(TriggerData td)
factory method, used to avoid reflection and security checks for new trigger instance creations should return new instance of trigger initialized with TriggerData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected TriggerData td
Constructor Detail |
public Trigger(TriggerData td)
Method Detail |
public abstract Trigger newInstance(TriggerData td)
public abstract int getTriggerEventType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |