Package org.nuxeo.ecm.core.lifecycle
Interface LifeCycleState
- All Known Implementing Classes:
LifeCycleStateImpl
public interface LifeCycleState
Life cycle state.
- Author:
- Julien Anguenot
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the allowed state transitions.Returns the life cycle state descriptions.getName()
Returns the life cycle state name.boolean
Returns true if state is a valid initial state
-
Method Details
-
getName
String getName()Returns the life cycle state name.- Returns:
- the life cycle state name as a string
-
getDescription
String getDescription()Returns the life cycle state descriptions.- Returns:
- the life cycle state description
-
getAllowedStateTransitions
Collection<String> getAllowedStateTransitions()Returns the allowed state transitions.- Returns:
- a collection of string representing the allowed state transitions
-
isInitial
boolean isInitial()Returns true if state is a valid initial state
-