Package adams.scripting.engine
Interface WorkerScriptingEngine
-
- All Known Implementing Classes:
DefaultWorkerScriptingEngine
public interface WorkerScriptingEngineInterface for scripting engines that register themselves with a main engine for executing jobs.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectiongetMain()Returns the connection for communicating with the main engine.ConnectiongetWorker()Returns the connection that the main uses for communicating with the worker.StringmainTipText()Returns the tip text for this property.voidsetMain(Connection value)Sets the connection for communicating with the main engine.voidsetWorker(Connection value)Sets the connection that the main uses for communicating with the worker.StringworkerTipText()Returns the tip text for this property.
-
-
-
Method Detail
-
setMain
void setMain(Connection value)
Sets the connection for communicating with the main engine.- Parameters:
value- the connection
-
getMain
Connection getMain()
Returns the connection for communicating with the main engine.- Returns:
- the connection
-
mainTipText
String mainTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
setWorker
void setWorker(Connection value)
Sets the connection that the main uses for communicating with the worker.- Parameters:
value- the connection
-
getWorker
Connection getWorker()
Returns the connection that the main uses for communicating with the worker.- Returns:
- the connection
-
workerTipText
String workerTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
-