Package org.apache.uima.collection
Interface StatusCallbackListener
-
- All Superinterfaces:
BaseStatusCallbackListener
- All Known Implementing Classes:
DocumentAnalyzer
,RunAE
public interface StatusCallbackListener extends BaseStatusCallbackListener
Interface for a Listener that receives notification from theCollectionProcessingManager
as various events occur. The most common event is that the processing of an entity has completed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
Called when the processing of each entity has completed.-
Methods inherited from interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListener
aborted, batchProcessComplete, collectionProcessComplete, initializationComplete, paused, resumed
-
-
-
-
Method Detail
-
entityProcessComplete
void entityProcessComplete(CAS aCas, EntityProcessStatus aStatus)
Called when the processing of each entity has completed.- Parameters:
aCas
- the CAS containing the processed entity and the analysis resultsaStatus
- the status of the processing. This object contains a record of any Exception that occurred, as well as timing information.
-
-