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) throws LifeCycleException
stateName
- the current state nameLifeCycleException
String getDefaultInitialStateName()
Collection<String> getInitialStateNames()
String getName()
LifeCycleState getStateByName(String stateName)
stateName
- the state nameCollection<LifeCycleState> getStates()
LifeCycleTransition getTransitionByName(String transitionName)
transitionName
- the transition nameCollection<LifeCycleTransition> getTransitions()
Copyright © 2011 Nuxeo SA. All Rights Reserved.