Enum SyncDeltaType

    • Enum Constant Detail

      • CREATE_OR_UPDATE

        public static final SyncDeltaType CREATE_OR_UPDATE
        The change represents either a create or an update in the resource. These are combined into a single value because:
        1. Many resources will not be able to distinguish a create from an update. Those that have an audit log will be able to. However, many implementations will only have the current record and a modification timestamp.
        2. Regardless of whether or not the resource can distinguish the two cases, the application needs to distinguish.
      • DELETE

        public static final SyncDeltaType DELETE
        The change represents a DELETE in the resource.
      • CREATE

        public static final SyncDeltaType CREATE
        The change represents a CREATE in the resource.

        Experimental type to support better event mechanism where it's possible.

        Since:
        1.4
        See Also:
        CREATE_OR_UPDATE
      • UPDATE

        public static final SyncDeltaType UPDATE
        The change represents a UPDATE in the resource.

        Experimental type to support better event mechanism where it's possible.

        Since:
        1.4
        See Also:
        CREATE_OR_UPDATE
    • Method Detail

      • values

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

        public static SyncDeltaType 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