public static enum AlterConfigOp.OpType extends Enum<AlterConfigOp.OpType>
| Enum Constant and Description |
|---|
APPEND(For list-type configuration entries only.) Add the specified values to the current value of the configuration entry. |
DELETERevert the configuration entry to the default value (possibly null). |
SETSet the value of the configuration entry. |
SUBTRACT(For list-type configuration entries only.) Removes the specified values from the current value of the configuration entry. |
| Modifier and Type | Method and Description |
|---|---|
static AlterConfigOp.OpType | forId(byte id) |
byte | id() |
static AlterConfigOp.OpType | valueOf(String name)Returns the enum constant of this type with the specified name. |
static AlterConfigOp.OpType[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final AlterConfigOp.OpType SET
public static final AlterConfigOp.OpType DELETE
public static final AlterConfigOp.OpType APPEND
public static final AlterConfigOp.OpType SUBTRACT
public static AlterConfigOp.OpType[] values()
for (AlterConfigOp.OpType c : AlterConfigOp.OpType.values()) System.out.println(c);
public static AlterConfigOp.OpType 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 byte id()
public static AlterConfigOp.OpType forId(byte id)