Groovy Documentation

org.linkedin.glu.provisioner.deployment.api
[Groovy] Interface IDeploymentManager


interface IDeploymentManager

The deployment manager


Method Summary
Plan createPlan(java.lang.String name, Environment from, Environment to, IDescriptionProvider descriptionProvider)

Creates a deployment plan to migrate from the first environment to the second one

Plan createPlan(java.lang.String name, Environment from, Environment to, IDescriptionProvider descriptionProvider, groovy.lang.Closure filter)

Creates a deployment plan to migrate from the first environment to the second one

IPlanExecution executePlan(Plan plan, IPlanExecutionProgressTracker tracker)

Execute the provided plan.

 

Method Detail

createPlan

Plan createPlan(java.lang.String name, Environment from, Environment to, IDescriptionProvider descriptionProvider)
Creates a deployment plan to migrate from the first environment to the second one


createPlan

Plan createPlan(java.lang.String name, Environment from, Environment to, IDescriptionProvider descriptionProvider, groovy.lang.Closure filter)
Creates a deployment plan to migrate from the first environment to the second one


executePlan

IPlanExecution executePlan(Plan plan, IPlanExecutionProgressTracker tracker)
Execute the provided plan. Note that this call is non blocking and will return an execution object with which to interract.
Parameters:
plan - the plane to execute
progressTracker - to track the progress of the execution
Returns:
the execution


 

Groovy Documentation