public static enum SkipperStateMachineService.SkipperEvents extends Enum<SkipperStateMachineService.SkipperEvents>
Enum Constant and Description |
---|
DELETE
Main level event instructing a delete request.
|
INSTALL
Main level event instructing an install request.
|
ROLLBACK
Main level event instructing a rollback request.
|
SCALE
Main level event instructing a scale request.
|
UPGRADE
Main level event instructing an upgrade request.
|
UPGRADE_ACCEPT
While being on
SkipperStateMachineService.SkipperStates.UPGRADE , this event can be used
to try upgrade accept procedure. |
UPGRADE_CANCEL
While being on
SkipperStateMachineService.SkipperStates.UPGRADE , this event can be used
to try upgrade cancel operation. |
Modifier and Type | Method and Description |
---|---|
static SkipperStateMachineService.SkipperEvents |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkipperStateMachineService.SkipperEvents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkipperStateMachineService.SkipperEvents INSTALL
public static final SkipperStateMachineService.SkipperEvents DELETE
public static final SkipperStateMachineService.SkipperEvents SCALE
public static final SkipperStateMachineService.SkipperEvents UPGRADE
public static final SkipperStateMachineService.SkipperEvents UPGRADE_CANCEL
SkipperStateMachineService.SkipperStates.UPGRADE
, this event can be used
to try upgrade cancel operation. Cancellation happens if machine
is in a state where it is possible to go into cancel procedure.public static final SkipperStateMachineService.SkipperEvents UPGRADE_ACCEPT
SkipperStateMachineService.SkipperStates.UPGRADE
, this event can be used
to try upgrade accept procedure.public static final SkipperStateMachineService.SkipperEvents ROLLBACK
public static SkipperStateMachineService.SkipperEvents[] values()
for (SkipperStateMachineService.SkipperEvents c : SkipperStateMachineService.SkipperEvents.values()) System.out.println(c);
public static SkipperStateMachineService.SkipperEvents 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.