public enum ProvisionStep extends Enum<ProvisionStep>
Enum Constant and Description |
---|
INSTALL |
SKIP_INSTALL
This special step is used for START_ONLY services/components, because state
transition cannot skip INSTALLED in the INIT -> INSTALLED -> STARTED sequence.
|
START |
Modifier and Type | Method and Description |
---|---|
abstract State |
getDesiredStateToSet() |
abstract Map<String,String> |
getProvisionProperties() |
static ProvisionStep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProvisionStep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProvisionStep INSTALL
public static final ProvisionStep SKIP_INSTALL
public static final ProvisionStep START
public static ProvisionStep[] values()
for (ProvisionStep c : ProvisionStep.values()) System.out.println(c);
public static ProvisionStep 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 nullpublic abstract State getDesiredStateToSet()
Copyright © 2022 Apache Software Foundation. All rights reserved.