Package adams.scripting.engine
Interface JobQueueHandler
-
- All Superinterfaces:
Destroyable
,FlowContextHandler
,OptionHandler
,Pausable
,RemoteCommandProcessorHandler
,RemoteScriptingEngine
,Stoppable
,StoppableWithFeedback
- All Known Implementing Classes:
AbstractScriptingEngineWithJobQueue
,DefaultScriptingEngine
,FileBasedScriptingEngine
,ManualFeedScriptingEngine
public interface JobQueueHandler extends RemoteScriptingEngine
Interface for scripting engines that manage a job queue.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxConcurrentJobs()
Returns the maximum number of concurrent jobs to execute.String
maxConcurrentJobsTipText()
Returns the tip text for this property.void
setMaxConcurrentJobs(int value)
Sets the maximum number of concurrent jobs to execute.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.Pausable
isPaused, pauseExecution, resumeExecution
-
Methods inherited from interface adams.scripting.processor.RemoteCommandProcessorHandler
getCommandProcessor, setCommandProcessor
-
Methods inherited from interface adams.scripting.engine.RemoteScriptingEngine
execute, executeJob, getCommandHandler, getFlowContext, getPermissionHandler, getRemoteScriptingEngineHandler, getRequestHandler, getResponseHandler, isRunning, permissionHandlerTipText, requestHandlerTipText, responseHandlerTipText, setCommandHandler, setFlowContext, setPermissionHandler, setRemoteScriptingEngineHandler, setRequestHandler, setResponseHandler
-
Methods inherited from interface adams.core.Stoppable
stopExecution
-
Methods inherited from interface adams.core.StoppableWithFeedback
isStopped
-
-
-
-
Method Detail
-
setMaxConcurrentJobs
void setMaxConcurrentJobs(int value)
Sets the maximum number of concurrent jobs to execute.- Parameters:
value
- the number of jobs
-
getMaxConcurrentJobs
int getMaxConcurrentJobs()
Returns the maximum number of concurrent jobs to execute.- Returns:
- the number of jobs
-
maxConcurrentJobsTipText
String maxConcurrentJobsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the gui
-
-