gate
Interface Controller
- All Superinterfaces:
- Executable, FeatureBearer, NameBearer, Resource, Serializable
- All Known Subinterfaces:
- ConditionalController, CorpusController
- All Known Implementing Classes:
- AbstractController, ConditionalSerialAnalyserController, ConditionalSerialController, SerialAnalyserController
- public interface Controller
- extends Resource, Executable, NameBearer, FeatureBearer
Models the execution of groups of ProcessingResources.
getPRs
public Collection getPRs()
- Returns all the
ProcessingResource
s contained by this
controller.
The actual type of collection returned depends on the controller type.
setPRs
public void setPRs(Collection PRs)
- Populates this controller from a collection of
ProcessingResource
s
(optional operation).
Controllers that are serializable must implement this method needed by GATE
to restore their contents.
- Throws:
UnsupportedOperationException
- if the setPRs method
is not supported by this controller.