|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use State | |
|---|---|
| org.gcube.common.core.utils.handlers | |
| org.gcube.common.core.utils.handlers.lifetime | |
| Uses of State in org.gcube.common.core.utils.handlers |
|---|
| Methods in org.gcube.common.core.utils.handlers that return State | |
|---|---|
State |
GCUBEHandler.getState()
See Lifetime.getState(). |
| Methods in org.gcube.common.core.utils.handlers with parameters of type State | |
|---|---|
void |
GCUBEHandler.setState(State state)
Sets the state of the handler. |
| Uses of State in org.gcube.common.core.utils.handlers.lifetime |
|---|
| Subclasses of State in org.gcube.common.core.utils.handlers.lifetime | |
|---|---|
static class |
State.Created
Specialises State for the (private) start state of a handler. |
static class |
State.Done
Specialises State for the state of a handler that has completed execution. |
static class |
State.Failed
Specialises State for the state of a handler that has failed prior or during its execution. |
static class |
State.Running
Specialises State for the state of a handler that is executing. |
static class |
State.Suspended
Specialises State for the state of a handler that has suspended its execution. |
| Methods in org.gcube.common.core.utils.handlers.lifetime that return State | |
|---|---|
State |
Lifetime.getState()
Returns the current lifetime state of the handler. |
| Methods in org.gcube.common.core.utils.handlers.lifetime that return types with arguments of type State | |
|---|---|
List<State> |
State.getPrevious()
Returns the states from which a handler may transition to this state. |
| Method parameters in org.gcube.common.core.utils.handlers.lifetime with type arguments of type State | |
|---|---|
protected abstract void |
State.addPrevious(List<State> previous)
Adds the states from which a handler may transition to this state. |
protected void |
State.Created.addPrevious(List<State> previous)
|
protected void |
State.Running.addPrevious(List<State> previous)
|
protected void |
State.Suspended.addPrevious(List<State> previous)
|
protected void |
State.Done.addPrevious(List<State> previous)
|
protected void |
State.Failed.addPrevious(List<State> previous)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||