|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.collection.impl.EntityProcessStatusImpl
public class EntityProcessStatusImpl
Field Summary | |
---|---|
boolean |
isProcessed
|
Constructor Summary | |
---|---|
EntityProcessStatusImpl(ProcessTrace p)
|
|
EntityProcessStatusImpl(ProcessTrace p,
boolean aSkip)
|
Method Summary | |
---|---|
void |
addEventStatus(java.lang.String aEventName,
java.lang.String aResultS,
java.lang.Throwable aE)
|
java.util.List |
getExceptions()
Gets the List of Exceptions that occurred during processing of the Entity. |
java.util.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. |
java.lang.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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean isProcessed
Constructor Detail |
---|
public EntityProcessStatusImpl(ProcessTrace p)
public EntityProcessStatusImpl(ProcessTrace p, boolean aSkip)
Method Detail |
---|
public boolean isException()
EntityProcessStatus
isException
in interface EntityProcessStatus
public java.lang.String getStatusMessage()
EntityProcessStatus
getStatusMessage
in interface EntityProcessStatus
public java.util.List getExceptions()
EntityProcessStatus
getExceptions
in interface EntityProcessStatus
null
if nonepublic java.util.List getFailedComponentNames()
EntityProcessStatus
getFailedComponentNames
in interface EntityProcessStatus
null
if there was no failurepublic void addEventStatus(java.lang.String aEventName, java.lang.String aResultS, java.lang.Throwable aE)
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |