|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use State | |
|---|---|
| org.gcube.common.ghn.service.lifetime | |
| Uses of State in org.gcube.common.ghn.service.lifetime |
|---|
| Methods in org.gcube.common.ghn.service.lifetime that return State | |
|---|---|
State |
Lifecycle.previous()
Returns the state from which this lifecycle transitioned to its current state. |
State |
DefaultLifecycle.previous()
|
State |
Lifecycle.state()
Returns the current state of this lifecycle. |
State |
DefaultLifecycle.state()
|
static State |
State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static State[] |
State.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.gcube.common.ghn.service.lifetime that return types with arguments of type State | |
|---|---|
abstract List<State> |
State.next()
Returns the list of states to which services can transition to from this state. |
| Methods in org.gcube.common.ghn.service.lifetime with parameters of type State | |
|---|---|
void |
Lifecycle.moveTo(State state)
Transition this lifecycle to a given state. |
void |
DefaultLifecycle.moveTo(State next)
|
void |
Lifecycle.tryMoveTo(State state)
Attempts to transition this lifecycle to a given state, but does not fail if the transition is illegal for this lifecycle. |
void |
DefaultLifecycle.tryMoveTo(State next)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||