public abstract class RemoteExecutor extends Executor implements Runnable
datasetDao, executionDao, fileDescriptorDao, fileStorage, logFileDao, work, workflowStepDao
Constructor and Description |
---|
RemoteExecutor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
cancelRemoteJob()
Tries to cancel the job on the remote server.
|
abstract Execution.State |
checkRemoteJob()
Checks the status of the job on the remote server.
|
abstract String |
getRemoteLog()
Checks the remote server for any log messages.
|
void |
run()
Submit the remote job and keep checking to see what the status of the job
is and fetch any remote information.
|
void |
startJob()
The job is ready to be executed.
|
void |
stopJob()
The job should be stopped.
|
abstract Execution.State |
submitRemoteJob(File cwd)
Submit the job to the remote server.
|
flushLog, getExecutionId, getExecutorName, getLog, getState, getStepId, isExecutorReady, isJobStopped, isStoreLog, print, print, println, println, println, setJobInformation, setLog, setState, setStoreLog
public void startJob()
Executor
public void stopJob()
Executor
public void run()
public abstract Execution.State submitRemoteJob(File cwd) throws AbortException, FailedException
AbortException
- an abort exception is thrown if the job submission is
aborted.FailedException
- a failed exception is thrown if the job submission fails to
submit properly.public abstract void cancelRemoteJob()
public abstract Execution.State checkRemoteJob() throws FailedException
FailedException
- a failed exception is thrown if the status check fails.public abstract String getRemoteLog()
Copyright © 2017. All rights reserved.