| Package | Description |
|---|---|
| org.gcube.common.core.utils.handlers | |
| org.gcube.common.core.utils.handlers.lifetime |
| Modifier and Type | Method and Description |
|---|---|
State |
GCUBEHandler.getState()
See
Lifetime.getState(). |
| Modifier and Type | Method and Description |
|---|---|
void |
GCUBEHandler.setState(State state)
Sets the state of the handler.
|
| Modifier and Type | Class and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
State |
Lifetime.getState()
Returns the current lifetime state of the handler.
|
| Modifier and Type | Method and Description |
|---|---|
List<State> |
State.getPrevious()
Returns the states from which a handler may transition to this state.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
Copyright © 2015. All Rights Reserved.