Enum StateChangeOperation

    • Enum Constant Detail

      • MERGE_NS

        public static final StateChangeOperation MERGE_NS
        Scope: key + namespace, also affecting other (source) namespaces.
      • ADD_ELEMENT

        public static final StateChangeOperation ADD_ELEMENT
        Scope: key + namespace + element (e.g. user list append).
      • ADD_OR_UPDATE_ELEMENT

        public static final StateChangeOperation ADD_OR_UPDATE_ELEMENT
        Scope: key + namespace + element (e.g. user map key put).
      • REMOVE_ELEMENT

        public static final StateChangeOperation REMOVE_ELEMENT
        Scope: key + namespace + element (e.g. user map remove or iterator remove).
      • METADATA

        public static final StateChangeOperation METADATA
        State metadata (name, serializers, etc.).
    • Method Detail

      • values

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

        public static StateChangeOperation 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
      • getCode

        public byte getCode()