Enum KafkaRebalanceAnnotation
java.lang.Object
java.lang.Enum<KafkaRebalanceAnnotation>
io.strimzi.api.kafka.model.rebalance.KafkaRebalanceAnnotation
- All Implemented Interfaces:
Serializable,Comparable<KafkaRebalanceAnnotation>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed to approve a rebalance proposal and trigger the actual rebalancing.No annotation set on the rebalance resource.Used to refresh a ready rebalance proposal or to restart a stopped request for getting a rebalance proposal.Used to stop a request for an actual ongoing rebalancing.Any other unsupported/unknown annotation value. -
Method Summary
Modifier and TypeMethodDescriptionstatic KafkaRebalanceAnnotationReturns the enum constant of this type with the specified name.static KafkaRebalanceAnnotation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
none
No annotation set on the rebalance resource. -
approve
Used to approve a rebalance proposal and trigger the actual rebalancing. This value should only be used when in theProposalReadystate. -
stop
Used to stop a request for an actual ongoing rebalancing. This value should only be used when in theRebalancingstate. -
refresh
Used to refresh a ready rebalance proposal or to restart a stopped request for getting a rebalance proposal. This value should only be used when in theProposalReadyorStoppedstates. -
unknown
Any other unsupported/unknown annotation value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-