Package adams.scripting.engine
Interface WorkerScriptingEngine
-
- All Known Implementing Classes:
DefaultWorkerScriptingEngine
public interface WorkerScriptingEngine
Interface 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 Connection
getMain()
Returns the connection for communicating with the main engine.Connection
getWorker()
Returns the connection that the main uses for communicating with the worker.String
mainTipText()
Returns the tip text for this property.void
setMain(Connection value)
Sets the connection for communicating with the main engine.void
setWorker(Connection value)
Sets the connection that the main uses for communicating with the worker.String
workerTipText()
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
-
-