org.apache.uima.collection

## Interface StatusCallbackListener

- All Superinterfaces:
    BaseStatusCallbackListener

      public interface StatusCallbackListener
      extends BaseStatusCallbackListener

  Interface for a Listener that receives notification from the `CollectionProcessingManager` 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 and 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 results
        `aStatus` - the status of the processing. This object contains a record of any Exception that occurred, as well as timing information.

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.