public static enum KafkaCruiseControl.CcStartupMode extends Enum<KafkaCruiseControl.CcStartupMode>
Enum Constant and Description |
---|
ON_ENABLE |
ON_FAILOVER |
Modifier and Type | Method and Description |
---|---|
static KafkaCruiseControl.CcStartupMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaCruiseControl.CcStartupMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KafkaCruiseControl.CcStartupMode ON_FAILOVER
public static final KafkaCruiseControl.CcStartupMode ON_ENABLE
public static KafkaCruiseControl.CcStartupMode[] values()
for (KafkaCruiseControl.CcStartupMode c : KafkaCruiseControl.CcStartupMode.values()) System.out.println(c);
public static KafkaCruiseControl.CcStartupMode 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 null