public interface ControllerJob extends Job, JobContainer, TableProducer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getControllerScripScript()
Returns the script of the controller which gets evaluated by the script engine.
|
java.lang.String |
getControllerScriptEngine()
Returns the name of the script engine, or null, if script engine is not set.
|
Job |
getInputJob()
Returns the job which is used to produce the input for the controller.
|
Job |
getOutputJob()
Returns the job which is used to consume the output of the controller.
|
void |
setControllerScript(java.lang.String controllerScript)
Sets the script for the controller which gets evaluated by the script engine.
|
void |
setControllerScriptEngine(java.lang.String engine)
Sets the script engine with which the scripts should be evaluated.
|
void |
setInputJob(Job inputJob)
Sets the job which should be used to create the table data used as input for the controller.
|
void |
setOutputJob(Job outputJob)
Sets the job which should be used to consume the output from the controller.
|
addJobListener, executeJob, initializeJob, removeJobListener, uninitializeJob
addMessageListener, getName, getPositionInformation, getUUID, removeMessageListener, setName
getJob, getJobs, getNumJobs
addTableListener, getProducedTableDefinition, removeTableListener
void setControllerScriptEngine(java.lang.String engine) throws java.rmi.RemoteException, MeasurementRunningException
engine
- The script engine to use.java.rmi.RemoteException
MeasurementRunningException
java.lang.String getControllerScriptEngine() throws java.rmi.RemoteException
java.rmi.RemoteException
void setControllerScript(java.lang.String controllerScript) throws java.rmi.RemoteException, MeasurementRunningException
controllerScript
- Controller script to evaluate.java.rmi.RemoteException
MeasurementRunningException
java.lang.String getControllerScripScript() throws java.rmi.RemoteException
java.rmi.RemoteException
Job getInputJob() throws java.rmi.RemoteException
java.rmi.RemoteException
void setInputJob(Job inputJob) throws java.rmi.RemoteException, MeasurementRunningException, java.lang.IllegalArgumentException, java.lang.NullPointerException
TableProducer
. If this is not given, an IllegalArgumentException will be thrown.inputJob
- Table producing job for control algorithm.java.rmi.RemoteException
MeasurementRunningException
java.lang.IllegalArgumentException
- If inputJob does not implement TableProducer
.java.lang.NullPointerException
- Thrown if inputJob is null.Job getOutputJob() throws java.rmi.RemoteException
java.rmi.RemoteException
void setOutputJob(Job outputJob) throws java.rmi.RemoteException, MeasurementRunningException, java.lang.IllegalArgumentException, java.lang.NullPointerException
TableProducer
. If this is not given, an IllegalArgumentException will be thrown.outputJob
- output consumer job.java.rmi.RemoteException
MeasurementRunningException
java.lang.IllegalArgumentException
- If outputJob does not implement TableConsumer
.java.lang.NullPointerException
- Thrown if outputJob is null,