@Internal public enum KubernetesDeploymentTarget extends Enum<KubernetesDeploymentTarget>
Enum Constant and Description |
---|
APPLICATION |
SESSION |
Modifier and Type | Method and Description |
---|---|
static KubernetesDeploymentTarget |
fromConfig(Configuration configuration) |
String |
getName() |
static boolean |
isValidKubernetesTarget(String configValue) |
static KubernetesDeploymentTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KubernetesDeploymentTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KubernetesDeploymentTarget SESSION
public static final KubernetesDeploymentTarget APPLICATION
public static KubernetesDeploymentTarget[] values()
for (KubernetesDeploymentTarget c : KubernetesDeploymentTarget.values()) System.out.println(c);
public static KubernetesDeploymentTarget 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 static KubernetesDeploymentTarget fromConfig(Configuration configuration)
public String getName()
public static boolean isValidKubernetesTarget(String configValue)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.