public abstract class LocalExecutor extends Executor implements Runnable
datasetDao, executionDao, fileDescriptorDao, fileStorage, logFileDao, work, workflowStepDao
Constructor and Description |
---|
LocalExecutor() |
Modifier and Type | Method and Description |
---|---|
static String |
debug() |
abstract void |
execute(File cwd)
This will run the tool specified.
|
static int |
getWorkers() |
static boolean |
isBusy() |
void |
run() |
static void |
setWorkers(int workers) |
void |
startJob()
The job is ready to be executed.
|
void |
stopJob()
The job should be stopped.
|
flushLog, getExecutionId, getExecutorName, getLog, getState, getStepId, isExecutorReady, isJobStopped, isStoreLog, print, print, println, println, println, setJobInformation, setLog, setState, setStoreLog
public static void setWorkers(int workers)
public static int getWorkers()
public static boolean isBusy()
public static String debug()
public abstract void execute(File cwd) throws AbortException, FailedException
cwd
- the folder in which the executor can store all data.AbortException
- an abort exception is thrown if the execution is aborted.FailedException
- a failed exception is thrown if the execution is failed to
execute properly.public void startJob()
Executor
public void stopJob()
Executor
Copyright © 2017. All rights reserved.