Package org.ldaptive.control
Enum Class SyncStateControl.State
- All Implemented Interfaces:
Serializable
,Comparable<SyncStateControl.State>
,Constable
- Enclosing class:
- SyncStateControl
Types of states.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
value()
Returns the value.static SyncStateControl.State
valueOf
(int i) Returns the state for the supplied integer constant.static SyncStateControl.State
Returns the enum constant of this class with the specified name.static SyncStateControl.State[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRESET
present. -
ADD
add. -
MODIFY
modify. -
DELETE
delete.
-
-
Field Details
-
value
private final int valueunderlying value.
-
-
Constructor Details
-
State
private State(int i) Creates a new mode.- Parameters:
i
- value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()Returns the value.- Returns:
- enum value
-
valueOf
Returns the state for the supplied integer constant.- Parameters:
i
- to find state for- Returns:
- state
-