public enum ServiceRestartCondition extends Enum<ServiceRestartCondition>
RemoteApiVersion#VERSION_1_24
Enum Constant and Description |
---|
ANY |
NONE |
ON_FAILURE |
Modifier and Type | Method and Description |
---|---|
static ServiceRestartCondition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceRestartCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceRestartCondition ON_FAILURE
public static final ServiceRestartCondition ANY
public static final ServiceRestartCondition NONE
public static ServiceRestartCondition[] values()
for (ServiceRestartCondition c : ServiceRestartCondition.values()) System.out.println(c);
public static ServiceRestartCondition 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 © 2021. All rights reserved.