public class LifeCycleStateImpl extends Object implements LifeCycleState
LifeCycleState
Constructor and Description |
---|
LifeCycleStateImpl(String name,
String description,
Collection<String> allowedStateTransitions,
boolean initial) |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAllowedStateTransitions()
Returns the allowed state transitions.
|
String |
getDescription()
Returns the life cycle state descriptions.
|
String |
getName()
Returns the life cycle state name.
|
boolean |
isInitial()
Returns true if state is a valid initial state
|
public LifeCycleStateImpl(String name, String description, Collection<String> allowedStateTransitions, boolean initial)
public Collection<String> getAllowedStateTransitions()
LifeCycleState
getAllowedStateTransitions
in interface LifeCycleState
public String getDescription()
LifeCycleState
getDescription
in interface LifeCycleState
public String getName()
LifeCycleState
getName
in interface LifeCycleState
public boolean isInitial()
LifeCycleState
isInitial
in interface LifeCycleState
Copyright © 2015 Nuxeo SA. All rights reserved.