|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.local.impl.EventHandlerImpl
public class EventHandlerImpl
Field Summary |
---|
Fields inherited from interface com.ibm.di.api.local.EventHandler |
---|
EH_TYPE_NAME, EH_TYPE_SWITCHBOARD, EH_TYPE_TRIGGER |
Constructor Summary | |
---|---|
EventHandlerImpl(Switchboard aSwitchboard,
ConfigInstanceImpl aConfigInstance,
SessionImpl aSession)
|
|
EventHandlerImpl(Trigger aTrigger,
ConfigInstanceImpl aConfigInstance,
SessionImpl aSession)
|
Method Summary | |
---|---|
static String |
genGUID(Switchboard aSwitchboard)
|
static String |
genGUID(Trigger aTrigger)
|
EventHandlerConfig |
getConfig()
Returns configuration information about the EventHandler. |
ConfigInstance |
getConfigInstance()
Returns the configuration instance of the EventHandler. |
int |
getEventHandlerType()
Returns the EventHandler type. |
String |
getEventHandlerTypeName()
Returns the EventHandler type name. |
String |
getGlobalUniqueID()
Returns EventHandler GUID. |
String |
getName()
Returns the name of the EventHandler. |
TaskStatistics |
getStatistics()
This method returns the TaskStatistics object for this EventHandler. |
String |
getSystemLog()
Retrieves the current EventHandler's system log. |
String |
getSystemLogFileName()
Returns the name of the log file of the EventHandler (not prefixed by folders path). |
String |
getSystemLogFilePath()
Returns the fully-qualified path of the log file of the EventHandler. |
String |
getSystemLogLastChunk(int aLastKilobytes)
Retrieves the last chunk from the current EventHandler's system log. |
int |
getUniqueCode()
Returns the unique code of the EventHandler. |
void |
stop()
Stops the execution of the EventHandler. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventHandlerImpl(Switchboard aSwitchboard, ConfigInstanceImpl aConfigInstance, SessionImpl aSession) throws DIException
DIException
public EventHandlerImpl(Trigger aTrigger, ConfigInstanceImpl aConfigInstance, SessionImpl aSession) throws DIException
DIException
Method Detail |
---|
public int getEventHandlerType() throws DIException
EventHandler
getEventHandlerType
in interface EventHandler
DIException
- if an error occurs while retrieving the EventHandler type.public String getEventHandlerTypeName() throws DIException
EventHandler
getEventHandlerTypeName
in interface EventHandler
DIException
- if an error occurs while retrieving EventHandler type name.public ConfigInstance getConfigInstance() throws DIException
EventHandler
getConfigInstance
in interface EventHandler
DIException
- if an error occurs while retrieving the configuration instance information.public String getName() throws DIException
EventHandler
getName
in interface EventHandler
DIException
- if an error occurs while retrieving the name of the EventHandler.public int getUniqueCode() throws DIException
EventHandler
getUniqueCode
in interface EventHandler
DIException
- if an error occurs while retrieving the unique code of the EventHandler.public EventHandlerConfig getConfig() throws DIException
EventHandler
getConfig
in interface EventHandler
DIException
- if an error occurs while retrieving the configuration information of the EventHandler.public TaskStatistics getStatistics() throws DIException
EventHandler
getStatistics
in interface EventHandler
DIException
- if an error occurs while getting the EventHandler statistics.public void stop() throws DIException
EventHandler
stop
in interface EventHandler
DIException
- if an error occurs while stopping the EventHandler.public String getSystemLogFilePath() throws DIException
EventHandler
getSystemLogFilePath
in interface EventHandler
DIException
- if an error occurs while obtaining EventHandler log file path.public String getSystemLogFileName() throws DIException
EventHandler
getSystemLogFileName
in interface EventHandler
DIException
- if an error occurs while obtaining EventHandler log file name.public String getSystemLog() throws DIException
EventHandler
getSystemLog
in interface EventHandler
DIException
- if an error occurs while obtaining EventHandler's log.public String getSystemLogLastChunk(int aLastKilobytes) throws DIException
EventHandler
getSystemLogLastChunk
in interface EventHandler
aLastKilobytes
- specifies in kilobytes the size of the log's last
chunk that will be read.
DIException
- if an error occurs while obtaining EventHandler's log.public String getGlobalUniqueID()
EventHandler
getGlobalUniqueID
in interface EventHandler
public static String genGUID(Switchboard aSwitchboard)
public static String genGUID(Trigger aTrigger)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |