public static enum FSConfigToCSConfigConverterParams.PreemptionMode extends Enum<FSConfigToCSConfigConverterParams.PreemptionMode>
| Enum Constant and Description |
|---|
ENABLED |
NO_POLICY |
OBSERVE_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static FSConfigToCSConfigConverterParams.PreemptionMode |
fromString(String cliOption) |
String |
getCliOption() |
static FSConfigToCSConfigConverterParams.PreemptionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSConfigToCSConfigConverterParams.PreemptionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSConfigToCSConfigConverterParams.PreemptionMode ENABLED
public static final FSConfigToCSConfigConverterParams.PreemptionMode NO_POLICY
public static final FSConfigToCSConfigConverterParams.PreemptionMode OBSERVE_ONLY
public static FSConfigToCSConfigConverterParams.PreemptionMode[] values()
for (FSConfigToCSConfigConverterParams.PreemptionMode c : FSConfigToCSConfigConverterParams.PreemptionMode.values()) System.out.println(c);
public static FSConfigToCSConfigConverterParams.PreemptionMode 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 getCliOption()
public static FSConfigToCSConfigConverterParams.PreemptionMode fromString(String cliOption)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.