Enum StandaloneLdapApiService.ControlType
- java.lang.Object
-
- java.lang.Enum<StandaloneLdapApiService.ControlType>
-
- org.apache.directory.api.ldap.codec.standalone.StandaloneLdapApiService.ControlType
-
- All Implemented Interfaces:
Serializable,Comparable<StandaloneLdapApiService.ControlType>
- Enclosing class:
- StandaloneLdapApiService
public static enum StandaloneLdapApiService.ControlType extends Enum<StandaloneLdapApiService.ControlType>
The control's type
-
-
Constructor Summary
Constructors Modifier Constructor Description privateControlType(String property)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private StringgetProperty()static StandaloneLdapApiService.ControlTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StandaloneLdapApiService.ControlType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUEST
public static final StandaloneLdapApiService.ControlType REQUEST
-
RESPONSE
public static final StandaloneLdapApiService.ControlType RESPONSE
-
-
Field Detail
-
property
private String property
-
-
Constructor Detail
-
ControlType
private ControlType(String property)
-
-
Method Detail
-
values
public static StandaloneLdapApiService.ControlType[] 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 (StandaloneLdapApiService.ControlType c : StandaloneLdapApiService.ControlType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandaloneLdapApiService.ControlType 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
-
getProperty
private String getProperty()
-
-