Enum AlterConfigOp.OpType

    • Enum Constant Detail

      • DELETE

        public static final AlterConfigOp.OpType DELETE
        Revert the configuration entry to the default value (possibly null).
      • APPEND

        public static final AlterConfigOp.OpType APPEND
        (For list-type configuration entries only.) Add the specified values to the current value of the configuration entry. If the configuration value has not been set, adds to the default value.
      • SUBTRACT

        public static final AlterConfigOp.OpType SUBTRACT
        (For list-type configuration entries only.) Removes the specified values from the current value of the configuration entry. It is legal to remove values that are not currently in the configuration entry. Removing all entries from the current configuration value leaves an empty list and does NOT revert to the default value of the entry.
    • Method Detail

      • values

        public static AlterConfigOp.OpType[] 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 (AlterConfigOp.OpType c : AlterConfigOp.OpType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AlterConfigOp.OpType 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 name
        NullPointerException - if the argument is null
      • id

        public byte id()