|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.api.DIEvent
com.ibm.di.api.ALEvent
public class ALEvent
This class is the object that describes the event that have been triggered.
Its purpose is to be an information carrier for events that have impact on an
AssemblyLine.
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.api.DIEvent |
|---|
EVT_AL_START, EVT_AL_STOP, EVT_CI_START, EVT_CI_STOP, EVT_CI_UPDATED, EVT_SRV_STOP, EVT_USER_PREFIX |
| Constructor Summary | |
|---|---|
ALEvent(String aType,
String aId,
Object aData,
String aConfigInstanceId,
TaskStatistics aStats)
Creates new ALEvent instance. |
|
ALEvent(String aType,
String aId,
Object aData,
String aConfigInstanceId,
TaskStatistics aStats,
String aGUID,
String aUserMessage)
Creates new ALEvent instance. |
|
| Method Summary | |
|---|---|
String |
getGUID()
Retrieves global ID. |
TaskStatistics |
getStatistics()
Retrives staristics. |
String |
getUserMessage()
Retrieves a custom user message. |
String |
toString()
Converts event to readable output. |
| Methods inherited from class com.ibm.di.api.DIEvent |
|---|
getConfigInstanceId, getData, getDateCreated, getId, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ALEvent(String aType,
String aId,
Object aData,
String aConfigInstanceId,
TaskStatistics aStats)
throws DIException
ALEvent instance.
aType - the type of the event that had occurred. DIEvent.EVT_CI_STARTDIEvent.EVT_CI_STOPDIEvent.EVT_CI_UPDATEDDIEvent.EVT_AL_STARTDIEvent.EVT_AL_STOPDIEvent.EVT_SRV_STOPDIEvent.EVT_SRV_STOPaId - the ID of the event Note: This ID should not to be
think of as a Unique Identifier used for distinguishing
different events occurring in the system.aData - the additional information this event carrier might contain.aConfigInstanceId - the configInstance id, this might be null.aStats - the TaskStatistics object which carries information
about the running AssemblyLine instance at the
time when the event had occurred.
DIException - if the aType parameter is null.
public ALEvent(String aType,
String aId,
Object aData,
String aConfigInstanceId,
TaskStatistics aStats,
String aGUID,
String aUserMessage)
throws DIException
ALEvent instance.
aType - the type of the event that had occurred. DIEvent.EVT_CI_STARTDIEvent.EVT_CI_STOPDIEvent.EVT_CI_UPDATEDDIEvent.EVT_AL_STARTDIEvent.EVT_AL_STOPDIEvent.EVT_SRV_STOPaId - the ID of the event Note: This ID should not to be
think of as a Unique Identifier used for distinguishing
different events occurring in the system.aData - the additional information this event carrier might contain.aConfigInstanceId - the configInstance id, this might be null.aStats - the TaskStatistics object which carries information
about the running AssemblyLine instance at the
time when the event had occurred.aGUID - the globally unique identifier (GUID) of the AssemblyLine.aUserMessage - a custom user message, usually used when storing TombStones
DIException - if the aType parameter is null.| Method Detail |
|---|
public TaskStatistics getStatistics()
TaskStatistics object, that holds the statistics
information about the running AssemblyLine at the
time the event has occurred.public String getGUID()
public String getUserMessage()
public String toString()
toString in class DIEventALEvent object,
containing all of its attributes.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||