Groovy Documentation

org.linkedin.glu.orchestration.engine.planner
[Java] Interface Planner


public interface Planner

Authors:
yan@pongasoft.com


Method Summary
Plan computeDeploymentPlan(Type type, SystemModelDelta systemModelDelta)

Compute the deployment plan to 'fix' the delta

TransitionPlan computeTransitionPlan(SystemModelDelta systemModelDelta)

Compute the transition plan to 'fix' the delta

TransitionPlan computeTransitionPlan(java.util.Collection deltas)

Compute the transition plan to 'fix' the deltas given a list of deltas (note that the order of the deltas is very important and that deltas[n].currentModel == deltas[n-1].expectedModel must be true.

Plan computeTransitionPlan(Type type, SystemModelDelta systemModelDelta, java.util.Collection toStates)

Computes the transition plan from the current state to the states provided in the collection

 

Method Detail

computeDeploymentPlan

public Plan computeDeploymentPlan(Type type, SystemModelDelta systemModelDelta)
Compute the deployment plan to 'fix' the delta
Returns:
a plan with the main step of type type


computeTransitionPlan

public TransitionPlan computeTransitionPlan(SystemModelDelta systemModelDelta)
Compute the transition plan to 'fix' the delta
Returns:
a transition plan to create a plan of the type you want


computeTransitionPlan

public TransitionPlan computeTransitionPlan(java.util.Collection deltas)
Compute the transition plan to 'fix' the deltas given a list of deltas (note that the order of the deltas is very important and that deltas[n].currentModel == deltas[n-1].expectedModel must be true.
Returns:
a transition plan to create a plan of the type you want


computeTransitionPlan

public Plan computeTransitionPlan(Type type, SystemModelDelta systemModelDelta, java.util.Collection toStates)
Computes the transition plan from the current state to the states provided in the collection
Returns:
a plan with the main step of type type


 

Groovy Documentation