Package step.client.planrunners
Class RemotePlanRunner
- java.lang.Object
-
- step.client.AbstractRemoteClient
-
- step.client.planrunners.RemotePlanRunner
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,PlanRunner
public class RemotePlanRunner extends AbstractRemoteClient implements PlanRunner
Deprecated.This class will be removed in future releases. To run a plan located on your controller useRemoteExecutionManager
instead.A runner that runs plans fully remotely- Author:
- Jérôme Comte
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RemotePlanRunner.RemotePlanRunnerResult
Deprecated.
-
Field Summary
-
Fields inherited from class step.client.AbstractRemoteClient
client, cookies, credentials
-
-
Constructor Summary
Constructors Constructor Description RemotePlanRunner()
Deprecated.RemotePlanRunner(ControllerCredentials credentials)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AbstractArtefact
getArtefact(java.lang.String artefactId)
Deprecated.Execution
getExecution(java.lang.String executionID)
Deprecated.PlanRunnerResult
run(Plan plan)
Deprecated.Runs a plan instancePlanRunnerResult
run(Plan plan, java.util.Map<java.lang.String,java.lang.String> executionParameters)
Deprecated.Runs a plan instance using the provided execution parametersPlanRunnerResult
runPlanById(java.util.Map<java.lang.String,java.lang.String> executionParameters, java.lang.String planId, java.lang.String name)
Deprecated.Execution
waitForExecutionToTerminate(java.lang.String executionID, long timeout)
Deprecated.-
Methods inherited from class step.client.AbstractRemoteClient
close, executeRequest, notImplemented, requestBuilder, requestBuilder
-
-
-
-
Constructor Detail
-
RemotePlanRunner
public RemotePlanRunner()
Deprecated.
-
RemotePlanRunner
public RemotePlanRunner(ControllerCredentials credentials)
Deprecated.
-
-
Method Detail
-
run
public PlanRunnerResult run(Plan plan)
Deprecated.Description copied from interface:PlanRunner
Runs a plan instance- Specified by:
run
in interfacePlanRunner
- Parameters:
plan
- the plan to be run- Returns:
- an handle to the execution result
-
run
public PlanRunnerResult run(Plan plan, java.util.Map<java.lang.String,java.lang.String> executionParameters)
Deprecated.Description copied from interface:PlanRunner
Runs a plan instance using the provided execution parameters- Specified by:
run
in interfacePlanRunner
- Parameters:
plan
- the plan to be runexecutionParameters
- the execution parameters to be used for the execution. These parameters are equivalent to the parameters selected on the execution screen of the STEP UI- Returns:
- an handle to the execution result
-
runPlanById
public PlanRunnerResult runPlanById(java.util.Map<java.lang.String,java.lang.String> executionParameters, java.lang.String planId, java.lang.String name)
Deprecated.
-
getExecution
public Execution getExecution(java.lang.String executionID)
Deprecated.
-
waitForExecutionToTerminate
public Execution waitForExecutionToTerminate(java.lang.String executionID, long timeout) throws java.util.concurrent.TimeoutException, java.lang.InterruptedException
Deprecated.- Throws:
java.util.concurrent.TimeoutException
java.lang.InterruptedException
-
getArtefact
public AbstractArtefact getArtefact(java.lang.String artefactId)
Deprecated.
-
-