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, waitgetCandidates, isDeployPlanforceComplete, getErrors, getStatus, interrupt, isEligible, isInterrupted, proceed, restart, update, updateParametersgetMessage, hasErrors, isComplete, isPending, isPrepared, isRunning, isStarted, isStartingpublic 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()
ParentElementgetChildren in interface ParentElement<Phase>public Strategy<Phase> getStrategy()
ParentElementStrategy applied to the deployment of this Element's children.getStrategy in interface ParentElement<Phase>public java.util.UUID getId()
Elementpublic java.lang.String getName()
Elementpublic java.util.List<java.lang.String> getErrors()
Elementpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object