java.io.Serializable, java.lang.Comparable<FSConfigToCSConfigConverterParams.PreemptionMode>public static enum FSConfigToCSConfigConverterParams.PreemptionMode extends java.lang.Enum<FSConfigToCSConfigConverterParams.PreemptionMode>
| Enum Constant | Description |
|---|---|
ENABLED |
|
NO_POLICY |
|
OBSERVE_ONLY |
| Modifier and Type | Method | Description |
|---|---|---|
static FSConfigToCSConfigConverterParams.PreemptionMode |
fromString(java.lang.String cliOption) |
|
java.lang.String |
getCliOption() |
|
static FSConfigToCSConfigConverterParams.PreemptionMode |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getCliOption()
public static FSConfigToCSConfigConverterParams.PreemptionMode fromString(java.lang.String cliOption)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.