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()
EntityProcessStatus
isException
in interface EntityProcessStatus
public String getStatusMessage()
EntityProcessStatus
getStatusMessage
in interface EntityProcessStatus
public List getExceptions()
EntityProcessStatus
getExceptions
in interface EntityProcessStatus
null
if nonepublic List getFailedComponentNames()
EntityProcessStatus
getFailedComponentNames
in interface EntityProcessStatus
null
if there was no failurepublic ProcessTrace getProcessTrace()
EntityProcessStatus
ProcessTrace
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 EntityProcessStatus
public void printEventLog()
public boolean isEntitySkipped()
isEntitySkipped
in interface EntityProcessStatus
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.