public enum RestartType extends Enum<RestartType>
| Modifier and Type | Class and Description |
|---|---|
static class |
RestartType.Adapter |
| Enum Constant and Description |
|---|
NO_RESTART |
RESTART |
ROLLING_RESTART |
| Modifier and Type | Method and Description |
|---|---|
static RestartType |
fromValue(String input) |
String |
getValue() |
String |
toString() |
static RestartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="NO_RESTART") public static final RestartType NO_RESTART
@SerializedName(value="RESTART") public static final RestartType RESTART
@SerializedName(value="ROLLING_RESTART") public static final RestartType ROLLING_RESTART
public static RestartType[] values()
for (RestartType c : RestartType.values()) System.out.println(c);
public static RestartType 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 String getValue()
public String toString()
toString in class Enum<RestartType>public static RestartType fromValue(String input)
Copyright © 2026. All rights reserved.