public class EntityProcessStatusImpl extends Object implements EntityProcessStatus
| Modifier and Type | Field and Description |
|---|---|
boolean |
isProcessed |
| Constructor and Description |
|---|
EntityProcessStatusImpl(ProcessTrace p) |
EntityProcessStatusImpl(ProcessTrace p,
boolean aSkip) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventStatus(String aEventName,
String aResultS,
Throwable aE) |
List |
getExceptions()
Gets the List of Exceptions that occurred during processing of the Entity.
|
List |
getFailedComponentNames()
Gets the name of the components in which Exceptions (if any) occurred.
|
ProcessTrace |
getProcessTrace()
Gets the
ProcessTrace object for the Entity's processing. |
String |
getStatusMessage()
Gets a message describing the status of the Entity's processing.
|
boolean |
isEntitySkipped()
Gets whether an entity has beed skipped during processing
|
boolean |
isException()
Gets whether an exception occurred.
|
void |
printEventLog() |
public EntityProcessStatusImpl(ProcessTrace p)
public EntityProcessStatusImpl(ProcessTrace p, boolean aSkip)
public boolean isException()
EntityProcessStatusisException in interface EntityProcessStatuspublic String getStatusMessage()
EntityProcessStatusgetStatusMessage in interface EntityProcessStatuspublic List getExceptions()
EntityProcessStatusgetExceptions in interface EntityProcessStatusnull if nonepublic List getFailedComponentNames()
EntityProcessStatusgetFailedComponentNames in interface EntityProcessStatusnull if there was no failurepublic ProcessTrace getProcessTrace()
EntityProcessStatusProcessTrace object for the Entity's processing. The
ProcessTrace object contains a record of each component involved in the
processing and how much time that component took to complete its processing.getProcessTrace in interface EntityProcessStatuspublic void printEventLog()
public boolean isEntitySkipped()
isEntitySkipped in interface EntityProcessStatusCopyright © 2018. All rights reserved.