public class DefaultPlan extends java.lang.Object implements Plan
LOGGER
Constructor and Description |
---|
DefaultPlan(java.lang.String name,
java.util.List<Phase> phases) |
DefaultPlan(java.lang.String name,
java.util.List<Phase> phases,
Strategy<Phase> strategy) |
DefaultPlan(java.lang.String name,
java.util.List<Phase> phases,
Strategy<Phase> strategy,
java.util.List<java.lang.String> errors) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<Phase> |
getChildren()
Gets the children of this Element.
|
java.util.List<java.lang.String> |
getErrors()
Returns a list of user-visible descriptive error messages associated with this Element.
|
java.util.UUID |
getId()
Returns the unique identifier of this Element.
|
java.lang.String |
getName()
Returns a user-visible name describing the purpose of this Element.
|
Strategy<Phase> |
getStrategy()
Gets the
Strategy applied to the deployment of this Element's children. |
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCandidates, isDeployPlan
forceComplete, getErrors, getStatus, interrupt, isEligible, isInterrupted, proceed, restart, update, updateParameters
getMessage, hasErrors, isComplete, isPending, isPrepared, isRunning, isStarted, isStarting
public DefaultPlan(java.lang.String name, java.util.List<Phase> phases, Strategy<Phase> strategy, java.util.List<java.lang.String> errors)
public DefaultPlan(java.lang.String name, java.util.List<Phase> phases)
public java.util.List<Phase> getChildren()
ParentElement
getChildren
in interface ParentElement<Phase>
public Strategy<Phase> getStrategy()
ParentElement
Strategy
applied to the deployment of this Element's children.getStrategy
in interface ParentElement<Phase>
public java.util.UUID getId()
Element
public java.lang.String getName()
Element
public java.util.List<java.lang.String> getErrors()
Element
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object