public final class DefaultActivationLifeCycle extends UnmodifiableActivationLifeCycle
Modifier and Type | Field and Description |
---|---|
static DefaultActivationLifeCycle |
DEFAULT
Deprecated.
Use
Lifecycles#getDefault(true, true) instead. |
static DefaultActivationLifeCycle |
DEFAULT_NO_DISAPPEAR
Deprecated.
Use
Lifecycles#getDefault(true, false) instead. |
static DefaultActivationLifeCycle |
DEFAULT_NO_UPDATE
Deprecated.
Use
Lifecycles#getDefault(false, true) instead. |
static DefaultActivationLifeCycle |
DEFAULT_NO_UPDATE_AND_DISAPPEAR
Deprecated.
Use
Lifecycles#getDefault(false, false) instead. |
Constructor and Description |
---|
DefaultActivationLifeCycle()
Deprecated.
Use
DefaultActivationLifeCycle(true, true, false) instead. |
DefaultActivationLifeCycle(boolean updateStateUsed,
boolean disappearedStateUsed)
Creates an activation life cycle with the default state transition map.
|
addStateTransition, copyOf
containsFrom, containsTo, create, getInactiveState, getStateTransitionTable, nextActivationState, toString
public static final DefaultActivationLifeCycle DEFAULT
Lifecycles#getDefault(true, true)
instead.public static final DefaultActivationLifeCycle DEFAULT_NO_UPDATE
Lifecycles#getDefault(false, true)
instead.public static final DefaultActivationLifeCycle DEFAULT_NO_DISAPPEAR
Lifecycles#getDefault(true, false)
instead.public static final DefaultActivationLifeCycle DEFAULT_NO_UPDATE_AND_DISAPPEAR
Lifecycles#getDefault(false, false)
instead.public DefaultActivationLifeCycle(boolean updateStateUsed, boolean disappearedStateUsed)
updateStateUsed
- if set, the Updated activation state is also useddisappearedStateUsed
- if set, the Disappeared activations state is also usedpublic DefaultActivationLifeCycle()
DefaultActivationLifeCycle(true, true, false)
instead.