Package step.client.executions
Class RemoteExecutionFuture
- java.lang.Object
-
- step.core.plans.runner.PlanRunnerResult
-
- step.client.executions.RemoteExecutionFuture
-
public class RemoteExecutionFuture extends PlanRunnerResult
This class represents a future of a controller execution
-
-
Field Summary
-
Fields inherited from class step.core.plans.runner.PlanRunnerResult
executionId, reportTreeAccessor, resourceManager, rootReportNodeId
-
-
Constructor Summary
Constructors Constructor Description RemoteExecutionFuture(RemoteExecutionManager executionManager, java.lang.String executionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution
getExecution()
RemoteExecutionFuture
waitForExecutionToTerminate(long timeout)
Wait for an the execution to terminate-
Methods inherited from class step.core.plans.runner.PlanRunnerResult
getExecutionId, getReportTreeAccessor, getReportTreeVisitor, getResult, getTreeAsString, printTree, printTree, printTree, visitReportNodes, visitReportTree, waitForExecutionToTerminate, writeReport
-
-
-
-
Constructor Detail
-
RemoteExecutionFuture
public RemoteExecutionFuture(RemoteExecutionManager executionManager, java.lang.String executionId)
-
-
Method Detail
-
waitForExecutionToTerminate
public RemoteExecutionFuture waitForExecutionToTerminate(long timeout) throws java.util.concurrent.TimeoutException, java.lang.InterruptedException
Description copied from class:PlanRunnerResult
Wait for an the execution to terminate- Overrides:
waitForExecutionToTerminate
in classPlanRunnerResult
- Parameters:
timeout
- the timeout in ms- Returns:
- Throws:
java.util.concurrent.TimeoutException
java.lang.InterruptedException
-
getExecution
public Execution getExecution()
-
-