org.apache.uima.collection.base_cpm

## Interface CasDataStatusCallbackListener

- All Superinterfaces:
    BaseStatusCallbackListener

      public interface CasDataStatusCallbackListener
      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(CasData aCasData, EntityProcessStatus aStatus)` Called when the processing of each CasData unit has completed.

    - ### Methods inherited from interface org.apache.uima.collection.base_cpm.BaseStatusCallbackListener

      `aborted, batchProcessComplete, collectionProcessComplete, initializationComplete, paused, resumed`

- - ### Method Detail

    - #### entityProcessComplete

          void entityProcessComplete(CasData aCasData,
                                     EntityProcessStatus aStatus)

      Called when the processing of each CasData unit has completed.
      Parameters:
        `aCasData` - the CasData that was processed
        `aStatus` - the status of the processing. This object contains a record of any Exception that occurred, as well as timing information.

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