Groovy Documentation

org.linkedin.glu.provisioner.api.planner
[Groovy] Class Plan

java.lang.Object
  org.linkedin.glu.provisioner.api.planner.Plan

class Plan

An action plan


Field Summary
static java.lang.String HOST_PN

The name of the property that contains the host

static java.lang.String NAME_PN

The name of the property that contains the installation name

static java.util.List PHASES

The main phases, in the order of execution NOTE RF: the reason why the phases are in this order is because this will be the order of execution.

static java.lang.String PHASE_PN

The name of the property that contains the phase

 
Constructor Summary
Plan(Graph graph)

 
Method Summary
java.util.List getActionNodes()

Return the list of action descriptors ordered by:

  • phase
  • host
  • name

Graph getGraph()

Return the graph of actions on which the plan is based

java.util.List getHosts()

Return the list of hosts affected by the plan.

java.util.List getPhases()

Return the list of phases that are present in the plan.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

HOST_PN

public static final java.lang.String HOST_PN
The name of the property that contains the host


NAME_PN

public static final java.lang.String NAME_PN
The name of the property that contains the installation name


PHASES

public static final java.util.List PHASES
The main phases, in the order of execution NOTE RF: the reason why the phases are in this order is because this will be the order of execution. We want to first stop, unconfigure and uninstall the old installations and the bring up the new evironment


PHASE_PN

public static final java.lang.String PHASE_PN
The name of the property that contains the phase


 
Constructor Detail

Plan

Plan(Graph graph)


 
Method Detail

getActionNodes

java.util.List getActionNodes()
Return the list of action descriptors ordered by:


getGraph

Graph getGraph()
Return the graph of actions on which the plan is based


getHosts

java.util.List getHosts()
Return the list of hosts affected by the plan. The list is ordered alphabetically


getPhases

java.util.List getPhases()
Return the list of phases that are present in the plan. The list is ordered by execution


 

Groovy Documentation