public static enum KubernetesConstants.RestartPolicy extends Enum<KubernetesConstants.RestartPolicy>
Modifier and Type | Method and Description |
---|---|
static KubernetesConstants.RestartPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesConstants.RestartPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesConstants.RestartPolicy Always
public static final KubernetesConstants.RestartPolicy Never
public static final KubernetesConstants.RestartPolicy OnFailure
public static KubernetesConstants.RestartPolicy[] values()
for (KubernetesConstants.RestartPolicy c : KubernetesConstants.RestartPolicy.values()) System.out.println(c);
public static KubernetesConstants.RestartPolicy 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 © 2018 WSO2. All rights reserved.