com.ibm.di.trigger
Interface TriggerInterface

All Known Implementing Classes:
GenericTrigger, TimerTrigger, Trigger

public interface TriggerInterface

Interface for triggers.


Method Summary
 Object getConfig()
          Gets the config attribute of the TriggerInterface object
 EventHandlerListener getEventHandlerListener()
           
 Log getLog()
           
 String getName()
          Gets the name attribute of the TriggerInterface object
 RSInterface getParent()
          Gets the parent attribute of the TriggerInterface object
 TaskStatistics getStats()
          Return the statistics object
 void removeEventHandlerListener()
           
 void setConfig(Object config)
          Sets the config attribute of the TriggerInterface object
 void setEventHandlerListener(EventHandlerListener listener)
           
 void setExitRequested(boolean value)
          Sets the exitRequested flag.
 void setName(String name)
          Sets the name attribute of the TriggerInterface object
 void setParent(RSInterface parent)
          Sets the parent attribute of the TriggerInterface object
 void start()
          Activate the trigger.
 

Method Detail

setConfig

void setConfig(Object config)
Sets the config attribute of the TriggerInterface object

Parameters:
config - The new config value
Since:

getConfig

Object getConfig()
Gets the config attribute of the TriggerInterface object

Returns:
The config value
Since:

setParent

void setParent(RSInterface parent)
Sets the parent attribute of the TriggerInterface object

Parameters:
parent - The new parent value
Since:

getParent

RSInterface getParent()
Gets the parent attribute of the TriggerInterface object

Returns:
The parent value
Since:

start

void start()
Activate the trigger.

Since:

setExitRequested

void setExitRequested(boolean value)
Sets the exitRequested flag. If this method is called with the value true, the Trigger will eventually exit.

Parameters:
value - The new value of the exitRequested

getStats

TaskStatistics getStats()
Return the statistics object


getName

String getName()
Gets the name attribute of the TriggerInterface object

Returns:
The name value
Since:

setName

void setName(String name)
Sets the name attribute of the TriggerInterface object

Parameters:
name - The new name value
Since:

setEventHandlerListener

void setEventHandlerListener(EventHandlerListener listener)

getEventHandlerListener

EventHandlerListener getEventHandlerListener()

removeEventHandlerListener

void removeEventHandlerListener()

getLog

Log getLog()