public static enum SkipperStateMachineService.SkipperStates extends Enum<SkipperStateMachineService.SkipperStates>
Enum Constant and Description |
---|
DELETE
Parent state of all delete related states.
|
DELETE_DELETE
State where release delete happens.
|
DELETE_EXIT
Pseudostate used as a controlled exit point from
DELETE . |
ERROR
Central error handling state.
|
ERROR_JUNCTION
Central junction where all transitions from main skipper states terminates.
|
INITIAL
Initial state of a machine where instantiated machine goes.
|
INSTALL
Parent state of all install related states.
|
INSTALL_EXIT
Pseudostate used as a controlled exit point from
INSTALL . |
INSTALL_INSTALL
State where apps deployment happens.
|
ROLLBACK
Parent state of all rollback related states.
|
ROLLBACK_CHOICE
Pseudostate makind decision between exit points
ROLLBACK_EXIT ,
ROLLBACK_EXIT_INSTALL and ROLLBACK_EXIT_UPGRADE . |
ROLLBACK_EXIT
Controlled exit which acts as a fallback in case either
ROLLBACK_EXIT_INSTALL
or ROLLBACK_EXIT_UPGRADE cannot be chosen for some reason. |
ROLLBACK_EXIT_INSTALL
Controlled exit into
INSTALL . |
ROLLBACK_EXIT_UPGRADE
Controlled exit into
UPGRADE . |
ROLLBACK_START
Initialisation state where future branch from
ROLLBACK_CHOICE
is desided. |
SCALE
Parent state of all scale related states.
|
SCALE_EXIT
Pseudostate used as a controlled exit point from
SCALE . |
SCALE_SCALE
State where release scale happens.
|
UPGRADE
Parent state of all upgrade related states.
|
UPGRADE_CANCEL
State where machine goes if it is possible to cancel current
upgrade operation.
|
UPGRADE_CHECK_CHOICE
Pseudostate used to chooce between
UPGRADE_DELETE_SOURCE_APPS
and UPGRADE_CHECK_TARGET_APPS |
UPGRADE_CHECK_TARGET_APPS
State where status of a target release is checked.
|
UPGRADE_DELETE_SOURCE_APPS
State where source apps are getting deleted.
|
UPGRADE_DEPLOY_TARGET_APPS
State where new apps are getting deployed.
|
UPGRADE_DEPLOY_TARGET_APPS_FAILED
State where machine ends up if target release is considered failed.
|
UPGRADE_DEPLOY_TARGET_APPS_SUCCEED
State where machine ends up if target release is considered successful.
|
UPGRADE_EXIT
Pseudostate used as a controlled exit point from
UPGRADE . |
UPGRADE_START
State where all init logic happens before we can go
to state where actual new apps will be deployed.
|
UPGRADE_WAIT_TARGET_APPS
Intermediate state where machine pauses to either doing
a loop via
UPGRADE_CHECK_TARGET_APPS back to itself
or hopping into UPGRADE_CANCEL . |
Modifier and Type | Method and Description |
---|---|
static SkipperStateMachineService.SkipperStates |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkipperStateMachineService.SkipperStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkipperStateMachineService.SkipperStates INITIAL
public static final SkipperStateMachineService.SkipperStates ERROR
public static final SkipperStateMachineService.SkipperStates ERROR_JUNCTION
public static final SkipperStateMachineService.SkipperStates INSTALL
public static final SkipperStateMachineService.SkipperStates INSTALL_INSTALL
public static final SkipperStateMachineService.SkipperStates INSTALL_EXIT
INSTALL
.public static final SkipperStateMachineService.SkipperStates UPGRADE
public static final SkipperStateMachineService.SkipperStates UPGRADE_START
public static final SkipperStateMachineService.SkipperStates UPGRADE_DEPLOY_TARGET_APPS
public static final SkipperStateMachineService.SkipperStates UPGRADE_WAIT_TARGET_APPS
UPGRADE_CHECK_TARGET_APPS
back to itself
or hopping into UPGRADE_CANCEL
.public static final SkipperStateMachineService.SkipperStates UPGRADE_CHECK_TARGET_APPS
public static final SkipperStateMachineService.SkipperStates UPGRADE_DEPLOY_TARGET_APPS_FAILED
public static final SkipperStateMachineService.SkipperStates UPGRADE_DEPLOY_TARGET_APPS_SUCCEED
public static final SkipperStateMachineService.SkipperStates UPGRADE_CANCEL
public static final SkipperStateMachineService.SkipperStates UPGRADE_DELETE_SOURCE_APPS
public static final SkipperStateMachineService.SkipperStates UPGRADE_CHECK_CHOICE
UPGRADE_DELETE_SOURCE_APPS
and UPGRADE_CHECK_TARGET_APPS
public static final SkipperStateMachineService.SkipperStates UPGRADE_EXIT
UPGRADE
.public static final SkipperStateMachineService.SkipperStates SCALE
public static final SkipperStateMachineService.SkipperStates SCALE_SCALE
public static final SkipperStateMachineService.SkipperStates SCALE_EXIT
SCALE
.public static final SkipperStateMachineService.SkipperStates DELETE
public static final SkipperStateMachineService.SkipperStates DELETE_DELETE
public static final SkipperStateMachineService.SkipperStates DELETE_EXIT
DELETE
.public static final SkipperStateMachineService.SkipperStates ROLLBACK
public static final SkipperStateMachineService.SkipperStates ROLLBACK_START
ROLLBACK_CHOICE
is desided.public static final SkipperStateMachineService.SkipperStates ROLLBACK_CHOICE
ROLLBACK_EXIT
,
ROLLBACK_EXIT_INSTALL
and ROLLBACK_EXIT_UPGRADE
.public static final SkipperStateMachineService.SkipperStates ROLLBACK_EXIT_INSTALL
INSTALL
.public static final SkipperStateMachineService.SkipperStates ROLLBACK_EXIT_UPGRADE
UPGRADE
.public static final SkipperStateMachineService.SkipperStates ROLLBACK_EXIT
ROLLBACK_EXIT_INSTALL
or ROLLBACK_EXIT_UPGRADE
cannot be chosen for some reason.public static SkipperStateMachineService.SkipperStates[] values()
for (SkipperStateMachineService.SkipperStates c : SkipperStateMachineService.SkipperStates.values()) System.out.println(c);
public static SkipperStateMachineService.SkipperStates valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Pivotal Software, Inc.. All rights reserved.