|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.api.Tombstone
public class Tombstone
This class is used to represent tombstone objects. Tombstone objects contain information for the termination of an AssemblyLine or Config Instance.
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_NAME_COMPONENT_NAME
Property that specifies the name of the component. |
static java.lang.String |
PROPERTY_NAME_COMPONENT_TYPE_ID
Property that specifies the type of the component. Possible values: 0 – Config Instance 1 – AssemblyLine |
static java.lang.String |
PROPERTY_NAME_CONFIGURATION
Property that specifies the configuration id which the AssemblyLine is started from. |
static java.lang.String |
PROPERTY_NAME_CREATED_ON
Property that specifies the time the component was created. |
static java.lang.String |
PROPERTY_NAME_ERROR_DESCR
Property that specifies the description of the error the component ended with (if any). |
static java.lang.String |
PROPERTY_NAME_EVENT_TYPE_ID
Property that specifies the type of the event. |
static java.lang.String |
PROPERTY_NAME_EXIT_CODE
Property that specifies the code which the Component exited with. |
static java.lang.String |
PROPERTY_NAME_GUID
Property that specifies the globally unique identifier of the tombstone record. |
static java.lang.String |
PROPERTY_NAME_START_TIME
Property that specifies the time the component was started. |
static java.lang.String |
PROPERTY_NAME_STAT
Property that specifies the statistics for the component. |
static java.lang.String |
PROPERTY_NAME_USER_MESSAGE
Property that specifies the user message this tombstone will contain. |
Constructor Summary | |
---|---|
Tombstone(java.util.Map<java.lang.String,java.lang.Object> aData)
Construct tombstone object from a map, containing tombstone properties. |
Method Summary | |
---|---|
java.lang.String |
getComponentName()
Returns the name of the tombstone component (Config Instance or AssemblyLine). |
int |
getComponentTypeID()
Returns component type ID. |
java.lang.String |
getConfiguration()
Returns the name of the configuration to which the AssemblyLine belonged. |
java.lang.String |
getErrorDescription()
Returns error description in case of abnormal tombstone component termination. |
int |
getEventTypeID()
Returns event type ID. |
int |
getExitCode()
Returns status indicator for how the tombstone component terminated. |
java.lang.String |
getGUID()
Returns tombstone Global Unique Identifier (GUID). |
java.util.Date |
getStartTime()
Returns the start time of current tombstone component object (Config Instance or AssemblyLine). |
Entry |
getStatistics()
Returns AssemblyLine's Entry statistics object. |
java.util.Date |
getTombstoneCreateTime()
Returns tombstone record creation time. |
java.lang.String |
getUserMessage()
Returns the user specified tombstone message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_NAME_COMPONENT_TYPE_ID
public static final java.lang.String PROPERTY_NAME_EVENT_TYPE_ID
public static final java.lang.String PROPERTY_NAME_START_TIME
public static final java.lang.String PROPERTY_NAME_CREATED_ON
public static final java.lang.String PROPERTY_NAME_COMPONENT_NAME
public static final java.lang.String PROPERTY_NAME_CONFIGURATION
public static final java.lang.String PROPERTY_NAME_EXIT_CODE
public static final java.lang.String PROPERTY_NAME_ERROR_DESCR
public static final java.lang.String PROPERTY_NAME_STAT
Entry
object.
public static final java.lang.String PROPERTY_NAME_GUID
public static final java.lang.String PROPERTY_NAME_USER_MESSAGE
Constructor Detail |
---|
public Tombstone(java.util.Map<java.lang.String,java.lang.Object> aData)
aData
- contains the data that will be written as a tombstone.Method Detail |
---|
public int getComponentTypeID()
public int getEventTypeID()
public java.util.Date getStartTime()
public java.util.Date getTombstoneCreateTime()
public java.lang.String getComponentName()
public java.lang.String getConfiguration()
public int getExitCode()
public java.lang.String getErrorDescription()
public java.lang.String getGUID()
public Entry getStatistics()
public java.lang.String getUserMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |