| Package | Description |
|---|---|
| com.fredhopper.lifecycle |
| Modifier and Type | Method and Description |
|---|---|
default State |
Stateful.get() |
State |
Container.getState() |
State |
AbstractLifeCycle.getState() |
State |
Stateful.getState() |
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.
|
| Modifier and Type | Method and Description |
|---|---|
default Void |
StateListener.apply(State t,
State u) |
protected void |
AbstractLifeCycle.changeState(State from,
State to)
First changes the state from a current value to a target
value.
|
protected void |
AbstractLifeCycle.publishState(State from,
State to)
Propagates a change of
State to all the
StateListenerregistered with this life cycle
object. |
void |
StateListener.stateChanged(State oldState,
State newState)
Published a change of
State to the listener
implementation. |
Copyright © 2015 SDL Fredhopper. All rights reserved.