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