@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum ChangeType extends java.lang.Enum<ChangeType>
Enum Constant and Description |
---|
ADD
Indicates that the change type is for an add operation.
|
DELETE
Indicates that the change type is for a delete operation.
|
MODIFY
Indicates that the change type is for a modify operation.
|
MODIFY_DN
Indicates that the change type is for a modify DN operation.
|
Modifier and Type | Method and Description |
---|---|
static ChangeType |
forName(java.lang.String name)
Retrieves the change type with the specified name.
|
java.lang.String |
getName()
Retrieves the human-readable name for this change type.
|
java.lang.String |
toString()
Retrieves a string representation for this change type.
|
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType ADD
public static final ChangeType DELETE
public static final ChangeType MODIFY
public static final ChangeType MODIFY_DN
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@NotNull public java.lang.String getName()
@Nullable public static ChangeType forName(@NotNull java.lang.String name)
name
- The name of the change type to retrieve. It must not be
null
.null
if no such change type
is defined.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<ChangeType>