Enum SyncDeltaType
- java.lang.Object
-
- java.lang.Enum<SyncDeltaType>
-
- org.identityconnectors.framework.common.objects.SyncDeltaType
-
- All Implemented Interfaces:
Serializable,Comparable<SyncDeltaType>
public enum SyncDeltaType extends Enum<SyncDeltaType>
The type of change.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATEThe change represents a CREATE in the resource.CREATE_OR_UPDATEThe change represents either a create or an update in the resource.DELETEThe change represents a DELETE in the resource.UPDATEThe change represents a UPDATE in the resource.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncDeltaTypevalueOf(String name)Returns 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 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:- 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
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 nameNullPointerException- if the argument is null
-
-