GATE
Version 3.1-2270

gate
Interface Controller

All Superinterfaces:
Executable, FeatureBearer, NameBearer, Resource, Serializable
All Known Subinterfaces:
ConditionalController, CorpusController
All Known Implementing Classes:
AbstractController, ConditionalSerialAnalyserController, ConditionalSerialController, SerialAnalyserController, SerialController

public interface Controller
extends Resource, Executable, NameBearer, FeatureBearer

Models the execution of groups of ProcessingResources.


Method Summary
 Collection getPRs()
          Returns all the ProcessingResources contained by this controller.
 void setPRs(Collection PRs)
          Populates this controller from a collection of ProcessingResources (optional operation).
 
Methods inherited from interface gate.Resource
cleanup, getParameterValue, init, setParameterValue, setParameterValues
 
Methods inherited from interface gate.util.FeatureBearer
getFeatures, setFeatures
 
Methods inherited from interface gate.util.NameBearer
getName, setName
 
Methods inherited from interface gate.Executable
execute, interrupt, isInterrupted
 

Method Detail

getPRs

Collection getPRs()
Returns all the ProcessingResources contained by this controller. The actual type of collection returned depends on the controller type.


setPRs

void setPRs(Collection PRs)
Populates this controller from a collection of ProcessingResources (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.

GATE
Version 3.1-2270