Interface ExecutionOperations
- All Known Implementing Classes:
DefaultExecutionOperations
public interface ExecutionOperations
Operations on the
Execution.-
Method Summary
Modifier and TypeMethodDescriptionCancel the execution.voidDeploy the execution.voidmarkFailed(Execution execution, Throwable cause) Mark the execution as FAILED.
-
Method Details
-
deploy
Deploy the execution.- Parameters:
execution- to deploy.- Throws:
JobException- if the execution cannot be deployed to the assigned resource
-
cancel
Cancel the execution.- Parameters:
execution- to cancel- Returns:
- Future which completes when the cancellation is done
-
markFailed
Mark the execution as FAILED.- Parameters:
execution- to mark as failed.cause- of the execution failure
-