Package org.opends.admin.ads
Enum ADSContext.ADSPropertySyntax
- java.lang.Object
-
- java.lang.Enum<ADSContext.ADSPropertySyntax>
-
- org.opends.admin.ads.ADSContext.ADSPropertySyntax
-
- All Implemented Interfaces:
Serializable,Comparable<ADSContext.ADSPropertySyntax>
- Enclosing class:
- ADSContext
public static enum ADSContext.ADSPropertySyntax extends Enum<ADSContext.ADSPropertySyntax>
Enumeration containing the different server properties syntaxes that could be stored in the ADS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANBoolean syntax.CERTIFICATE_BINARYCertificate;binary syntax.INTEGERInteger syntax.STRINGString syntax.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ADSContext.ADSPropertySyntaxvalueOf(String name)Returns the enum constant of this type with the specified name.static ADSContext.ADSPropertySyntax[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final ADSContext.ADSPropertySyntax STRING
String syntax.
-
INTEGER
public static final ADSContext.ADSPropertySyntax INTEGER
Integer syntax.
-
BOOLEAN
public static final ADSContext.ADSPropertySyntax BOOLEAN
Boolean syntax.
-
CERTIFICATE_BINARY
public static final ADSContext.ADSPropertySyntax CERTIFICATE_BINARY
Certificate;binary syntax.
-
-
Method Detail
-
values
public static ADSContext.ADSPropertySyntax[] 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 (ADSContext.ADSPropertySyntax c : ADSContext.ADSPropertySyntax.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ADSContext.ADSPropertySyntax 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
-
-