Interface ExecutionOperations
-
- All Known Implementing Classes:
DefaultExecutionOperations
public interface ExecutionOperationsOperations on theExecution.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletableFuture<?>cancel(Execution execution)Cancel the execution.voiddeploy(Execution execution)Deploy the execution.voidmarkFailed(Execution execution, Throwable cause)Mark the execution as FAILED.
-
-
-
Method Detail
-
deploy
void deploy(Execution execution) throws JobException
Deploy the execution.- Parameters:
execution- to deploy.- Throws:
JobException- if the execution cannot be deployed to the assigned resource
-
cancel
CompletableFuture<?> cancel(Execution execution)
Cancel the execution.- Parameters:
execution- to cancel- Returns:
- Future which completes when the cancellation is done
-
-