Enum SyncDeltaType
- All Implemented Interfaces:
Serializable,Comparable<SyncDeltaType>
The type of change.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe change represents a CREATE in the resource.The change represents either a create or an update in the resource.The change represents a DELETE in the resource.The change represents a UPDATE in the resource. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncDeltaTypeReturns the enum constant of this type with the specified name.static SyncDeltaType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATE_OR_UPDATE
The change represents either a create or an update in the resource. These are combined into a single value because:- 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.
- Regardless of whether or not the resource can distinguish the two cases, the application needs to distinguish.
-
DELETE
The change represents a DELETE in the resource. -
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:
-
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:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-