Package org.apache.uima.collection.impl
Class EntityProcessStatusImpl
java.lang.Object
org.apache.uima.collection.impl.EntityProcessStatusImpl
- All Implemented Interfaces:
Serializable,EntityProcessStatus
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEventStatus(String aEventName, String aResultS, Throwable aE) Gets the List of Exceptions that occurred during processing of the Entity.Gets the name of the components in which Exceptions (if any) occurred.Gets theProcessTraceobject for the Entity's processing.Gets a message describing the status of the Entity's processing.booleanGets whether an entity has beed skipped during processingbooleanGets whether an exception occurred.void
-
Field Details
-
isProcessed
public boolean isProcessed
-
-
Constructor Details
-
EntityProcessStatusImpl
-
EntityProcessStatusImpl
-
-
Method Details
-
isException
public boolean isException()Description copied from interface:EntityProcessStatusGets whether an exception occurred.- Specified by:
isExceptionin interfaceEntityProcessStatus- Returns:
- true if an exception occurred, false if processing completely successfully with no exceptions.
-
getStatusMessage
Description copied from interface:EntityProcessStatusGets a message describing the status of the Entity's processing.- Specified by:
getStatusMessagein interfaceEntityProcessStatus- Returns:
- the status message
-
getExceptions
Description copied from interface:EntityProcessStatusGets the List of Exceptions that occurred during processing of the Entity.- Specified by:
getExceptionsin interfaceEntityProcessStatus- Returns:
- the List of Exceptions,
nullif none
-
getFailedComponentNames
Description copied from interface:EntityProcessStatusGets the name of the components in which Exceptions (if any) occurred. These could be the Analysis Engine or one or more of the CasConsumers.- Specified by:
getFailedComponentNamesin interfaceEntityProcessStatus- Returns:
- the name of the components that failed,
nullif there was no failure
-
addEventStatus
-
getProcessTrace
Description copied from interface:EntityProcessStatusGets theProcessTraceobject for the Entity's processing. TheProcessTraceobject contains a record of each component involved in the processing and how much time that component took to complete its processing.- Specified by:
getProcessTracein interfaceEntityProcessStatus- Returns:
- the object containing trace and timing information for the Entity's processing.
-
printEventLog
public void printEventLog() -
isEntitySkipped
public boolean isEntitySkipped()Gets whether an entity has beed skipped during processing- Specified by:
isEntitySkippedin interfaceEntityProcessStatus- Returns:
- true if an entity was skipped, false otherwise
-