public class JavaExecutor extends LocalExecutor
Modifier and Type | Field and Description |
---|---|
static String |
EXECUTOR_NAME |
datasetDao, executionDao, fileDescriptorDao, fileStorage, logFileDao, work, workflowStepDao
Constructor and Description |
---|
JavaExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
execute(File cwd)
This will run the tool specified.
|
String |
getExecutorName()
Name of the executor.
|
void |
stopJob()
The job should be stopped.
|
debug, getWorkers, isBusy, run, setWorkers, startJob
flushLog, getExecutionId, getLog, getState, getStepId, isExecutorReady, isJobStopped, isStoreLog, print, print, println, println, println, setJobInformation, setLog, setState, setStoreLog
public static String EXECUTOR_NAME
public String getExecutorName()
Executor
getExecutorName
in class Executor
public void stopJob()
Executor
stopJob
in class LocalExecutor
public void execute(File cwd) throws AbortException, FailedException
LocalExecutor
execute
in class LocalExecutor
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.Copyright © 2017. All rights reserved.