public abstract class UimaAsBaseCallbackListener extends Object implements UimaASStatusCallbackListener
Constructor and Description |
---|
UimaAsBaseCallbackListener() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
The callback used to inform the application that the CPC request has completed.
|
void |
entityProcessComplete(org.apache.uima.cas.CAS aCas,
org.apache.uima.collection.EntityProcessStatus aStatus)
Called when the processing of each entity has completed.
|
void |
initializationComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
The callback used to inform the application that the initialization request has completed.
|
void |
onBeforeMessageSend(UimaASProcessStatus status)
Called by Uima AS client API just before the CAS is send to the service.
|
public void onBeforeMessageSend(UimaASProcessStatus status)
status
- - status object containing id of the CAS being send.public void initializationComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
initializationComplete
in interface UimaASStatusCallbackListener
aStatus
- the status of the processing. This object contains a record of any Exception that
occurred, as well as timing information.public void entityProcessComplete(org.apache.uima.cas.CAS aCas, org.apache.uima.collection.EntityProcessStatus aStatus)
entityProcessComplete
in interface UimaASStatusCallbackListener
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.public void collectionProcessComplete(org.apache.uima.collection.EntityProcessStatus aStatus)
collectionProcessComplete
in interface UimaASStatusCallbackListener
aStatus
- the status of the processing. This object contains a record of any Exception that
occurred, as well as timing information.Copyright © 2016. All rights reserved.