|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.linkedin.glu.provisioner.impl.planner.InstallationTransitions
class InstallationTransitions
Uses a standard state machine and adds some extra information that is used by the provisioner to compute transitions author: Riccardo Ferretti created: Sep 14, 2009
Field Summary | |
---|---|
static java.lang.String |
NO_SCRIPT
|
Property Summary | |
---|---|
java.lang.Object |
fieldExcludes
|
java.lang.Object |
propsExcludes
|
Constructor Summary | |
InstallationTransitions()
|
|
InstallationTransitions(StateMachine sm, java.util.List destructiveTransitions, java.lang.String bounceState, java.lang.String reinstallState)
|
Method Summary | |
---|---|
java.util.List
|
findShortestPath(java.lang.String from, java.lang.String to, java.lang.String throughState)
Find the shortest path to get from state |
java.util.List
|
findShortestPath(Installation from, Installation to, java.lang.String throughState)
|
java.lang.Object
|
getAvailableActions()
Returns all available actions |
java.lang.String
|
getBounceState()
|
java.util.List
|
getDestructiveTransitions()
Return the distructive actions |
java.lang.String
|
getReinstallState()
|
StateMachine
|
getStateMachine()
|
java.lang.String
|
getThroughState(java.util.List states)
Return the through state with the higher priority. |
java.lang.String
|
getThroughState(java.util.List states, java.lang.String throughState)
Return the through state with the higher priority. |
java.lang.String
|
getThroughState(Installation first, Installation second)
Given the two installations, it returns a (optional) through state that needs to be used by the children of this installation |
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 |
---|
public static final java.lang.String NO_SCRIPT
Property Detail |
---|
java.lang.Object fieldExcludes
java.lang.Object propsExcludes
Constructor Detail |
---|
InstallationTransitions()
InstallationTransitions(StateMachine sm, java.util.List destructiveTransitions, java.lang.String bounceState, java.lang.String reinstallState)
Method Detail |
---|
java.util.List findShortestPath(java.lang.String from, java.lang.String to, java.lang.String throughState)
from
to state
to
.
If a through state is not null
, the path will take it into account.
java.util.List findShortestPath(Installation from, Installation to, java.lang.String throughState)
java.lang.Object getAvailableActions()
java.lang.String getBounceState()
java.util.List getDestructiveTransitions()
java.lang.String getReinstallState()
StateMachine getStateMachine()
java.lang.String getThroughState(java.util.List states)
null
if none of the states is considered a through state
java.lang.String getThroughState(java.util.List states, java.lang.String throughState)
null
if none of the states is considered a through state
java.lang.String getThroughState(Installation first, Installation second)
Groovy Documentation