ncsa.tools.ogrescript.process.types.triggers
Class AbstractTrigger

java.lang.Object
  extended byncsa.tools.ogrescript.OgreScriptElement
      extended byncsa.tools.ogrescript.process.types.triggers.AbstractTrigger
All Implemented Interfaces:
IIdentifiableParent, UserFacing
Direct Known Subclasses:
FileMonitorTrigger, StreamMonitorTrigger

public abstract class AbstractTrigger
extends OgreScriptElement
implements IIdentifiableParent


Field Summary
static java.lang.String TAG_MODE
           
static java.lang.String TAG_SELF
           
 
Fields inherited from class ncsa.tools.ogrescript.OgreScriptElement
TAG_EXT_PT
 
Constructor Summary
AbstractTrigger()
           
 
Method Summary
 java.util.List getActions()
           
 RegExFilter getFilter()
           
 int getOrder()
           
abstract  void maybeFire()
           
 void maybeHalt()
           
 void resolve(Configuration parent)
           
 void setActions(java.util.List actions)
           
 void setFilter(RegExFilter filter)
           
 void setOrder(int order)
           
 void setParent(IIdentifiable parent)
           
static void sort(AbstractTrigger[] triggers)
           
 
Methods inherited from class ncsa.tools.ogrescript.OgreScriptElement
asElement, initializeFromElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_SELF

public static final java.lang.String TAG_SELF
See Also:
Constant Field Values

TAG_MODE

public static final java.lang.String TAG_MODE
See Also:
Constant Field Values
Constructor Detail

AbstractTrigger

public AbstractTrigger()
Method Detail

sort

public static void sort(AbstractTrigger[] triggers)

resolve

public void resolve(Configuration parent)

maybeHalt

public void maybeHalt()

maybeFire

public abstract void maybeFire()

getActions

public java.util.List getActions()

setActions

public void setActions(java.util.List actions)

getFilter

public RegExFilter getFilter()

setFilter

public void setFilter(RegExFilter filter)

setOrder

public void setOrder(int order)

getOrder

public int getOrder()

setParent

public void setParent(IIdentifiable parent)
Specified by:
setParent in interface IIdentifiableParent