Package org.apache.uima.tools.cpm
Class CpmPanel.StatusCallbackListenerImpl
java.lang.Object
org.apache.uima.tools.cpm.CpmPanel.StatusCallbackListenerImpl
- All Implemented Interfaces:
BaseStatusCallbackListener
,StatusCallbackListener
- Enclosing class:
CpmPanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
aborted()
Called when the processing has been aborted.void
Called when the processing of a batch has completed.void
Called when the processing of an entire collection has completed.void
entityProcessComplete
(CAS aCas, EntityProcessStatus aStatus) Called when the processing of each entity has completed.void
Called when the Collection Processing Manager's initialization has completed.void
paused()
Called when the processing has been paused.void
resumed()
Called when the processing has been resumed (after it had been previously paused).
-
Constructor Details
-
StatusCallbackListenerImpl
StatusCallbackListenerImpl()
-
-
Method Details
-
initializationComplete
public void initializationComplete()Description copied from interface:BaseStatusCallbackListener
Called when the Collection Processing Manager's initialization has completed.- Specified by:
initializationComplete
in interfaceBaseStatusCallbackListener
-
entityProcessComplete
Description copied from interface:StatusCallbackListener
Called when the processing of each entity has completed.- Specified by:
entityProcessComplete
in interfaceStatusCallbackListener
- 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.
-
batchProcessComplete
public void batchProcessComplete()Description copied from interface:BaseStatusCallbackListener
Called when the processing of a batch has completed.- Specified by:
batchProcessComplete
in interfaceBaseStatusCallbackListener
-
collectionProcessComplete
public void collectionProcessComplete()Description copied from interface:BaseStatusCallbackListener
Called when the processing of an entire collection has completed.- Specified by:
collectionProcessComplete
in interfaceBaseStatusCallbackListener
-
paused
public void paused()Description copied from interface:BaseStatusCallbackListener
Called when the processing has been paused.- Specified by:
paused
in interfaceBaseStatusCallbackListener
-
resumed
public void resumed()Description copied from interface:BaseStatusCallbackListener
Called when the processing has been resumed (after it had been previously paused).- Specified by:
resumed
in interfaceBaseStatusCallbackListener
-
aborted
public void aborted()Description copied from interface:BaseStatusCallbackListener
Called when the processing has been aborted.- Specified by:
aborted
in interfaceBaseStatusCallbackListener
-