public interface SyncExecutor
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancelJob()
Stops running job.
|
boolean |
cleanup()
Clean up after the job
|
void |
executeJob()
Execute the job
|
JobStatus |
getJobStatus()
Query the status of the job by its id.
|
java.lang.String |
getWorkDirectory() |
ConfiguredExecutable<?> |
waitForResult()
Call to this method block for as long as it is required for an executable to finish its job.
|
void executeJob()
throws JobSubmissionException
JobSubmissionException - if submission failsboolean cleanup()
ConfiguredExecutable<?> waitForResult() throws JobExecutionException
JobExecutionExceptionjava.lang.String getWorkDirectory()
boolean cancelJob()
JobStatus getJobStatus()