New CAS::release method to allow the CAS to release itself, similar to the Java API [3].
New error message type and ID in case of invalid CAS release.
New exception: EngineProcessingException.
Changes in internal API:
New constructor for CASPool to allow it to keep track of its AnnotatorContext owner.
Tests
The first test case added in #22 is now passing. The second test case should still be revised, as outlined in #24
Edit: #24 is now covered after the latest commit.
What's in the PR
FlowController
and its child classFixedFlowController
[1]. Custom Flow Controllers and Flow Controller descriptor files are not yet added.Step
class andFlow
interface [2].CAS::release
method to allow the CAS to release itself, similar to the Java API [3].AnnotatorContext
owner.Tests The first test case added in #22 is now passing. The second test case should still be revised, as outlined in #24 Edit: #24 is now covered after the latest commit.