public class DefaultExecutionOperations extends Object implements ExecutionOperations
ExecutionOperations.| Constructor and Description |
|---|
DefaultExecutionOperations() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<?> |
cancel(Execution execution)
Cancel the execution.
|
void |
deploy(Execution execution)
Deploy the execution.
|
void |
markFailed(Execution execution,
Throwable cause)
Mark the execution as FAILED.
|
public void deploy(Execution execution) throws JobException
ExecutionOperationsdeploy in interface ExecutionOperationsexecution - to deploy.JobException - if the execution cannot be deployed to the assigned resourcepublic CompletableFuture<?> cancel(Execution execution)
ExecutionOperationscancel in interface ExecutionOperationsexecution - to cancelpublic void markFailed(Execution execution, Throwable cause)
ExecutionOperationsmarkFailed in interface ExecutionOperationsexecution - to mark as failed.cause - of the execution failureCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.