public interface LifeCycle
LifeCycleImpl
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAllowedStateTransitionsFrom(String stateName)
Gets the allowed state transitions from a given state.
|
String |
getDefaultInitialStateName()
Returns the default initial state name.
|
Collection<String> |
getInitialStateNames()
Returns the list of allowed initial state names.
|
String |
getName()
Gets the life cycle name.
|
LifeCycleState |
getStateByName(String stateName)
Returns a life cycle state instance given its name.
|
Collection<LifeCycleState> |
getStates()
Returns the list of life cycle state instances.
|
LifeCycleTransition |
getTransitionByName(String transitionName)
Returns a life cycle transition instance given its name.
|
Collection<LifeCycleTransition> |
getTransitions()
Returns a list of life cycle transition instances.
|
Collection<String> getAllowedStateTransitionsFrom(String stateName)
stateName
- the current state nameString getDefaultInitialStateName()
Collection<String> getInitialStateNames()
LifeCycleState getStateByName(String stateName)
stateName
- the state nameCollection<LifeCycleState> getStates()
LifeCycleTransition getTransitionByName(String transitionName)
transitionName
- the transition nameCollection<LifeCycleTransition> getTransitions()
Copyright © 2015 Nuxeo SA. All rights reserved.