Package io.strimzi.api.kafka.model
Enum AclOperation
- java.lang.Object
-
- java.lang.Enum<AclOperation>
-
- io.strimzi.api.kafka.model.AclOperation
-
- All Implemented Interfaces:
Serializable,Comparable<AclOperation>
public enum AclOperation extends Enum<AclOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLALTERALTERCONFIGSCLUSTERACTIONCREATEDELETEDESCRIBEDESCRIBECONFIGSIDEMPOTENTWRITEREADWRITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AclOperationforValue(String value)StringtoValue()static AclOperationvalueOf(String name)Returns the enum constant of this type with the specified name.static AclOperation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final AclOperation READ
-
WRITE
public static final AclOperation WRITE
-
CREATE
public static final AclOperation CREATE
-
DELETE
public static final AclOperation DELETE
-
ALTER
public static final AclOperation ALTER
-
DESCRIBE
public static final AclOperation DESCRIBE
-
CLUSTERACTION
public static final AclOperation CLUSTERACTION
-
ALTERCONFIGS
public static final AclOperation ALTERCONFIGS
-
DESCRIBECONFIGS
public static final AclOperation DESCRIBECONFIGS
-
IDEMPOTENTWRITE
public static final AclOperation IDEMPOTENTWRITE
-
ALL
public static final AclOperation ALL
-
-
Method Detail
-
values
public static AclOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AclOperation c : AclOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AclOperation valueOf(String name)
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
-
forValue
public static AclOperation forValue(String value)
-
toValue
public String toValue()
-
-