Package org.opends.admin.ads
Enum ServerDescriptor.ServerProperty
- java.lang.Object
-
- java.lang.Enum<ServerDescriptor.ServerProperty>
-
- org.opends.admin.ads.ServerDescriptor.ServerProperty
-
- All Implemented Interfaces:
Serializable,Comparable<ServerDescriptor.ServerProperty>
- Enclosing class:
- ServerDescriptor
public static enum ServerDescriptor.ServerProperty extends Enum<ServerDescriptor.ServerProperty>
Enumeration containing the different server properties that we can keep in the ServerProperty object.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_ENABLEDThe associated value is an List of Boolean.ADMIN_PORTThe associated value is an Integer.EXTERNAL_REPLICATION_SERVERSList of servers specified in the Replication Server configuration.HOST_NAMEThe associated value is a String.INSTANCE_PUBLIC_KEY_CERTIFICATEThe instance key-pair public-key certificate.IS_REPLICATION_ENABLEDThe associated value is a Boolean.IS_REPLICATION_SECUREThe associated value is a Boolean.IS_REPLICATION_SERVERThe associated value is a Boolean.JMX_ENABLEDThe associated value is an List of Boolean.JMX_PORTThe associated value is an List of Integer.JMXS_ENABLEDThe associated value is an List of Boolean.JMXS_PORTThe associated value is an List of Integer.LDAP_ENABLEDThe associated value is an List of Boolean.LDAP_PORTThe associated value is an List of Integer.LDAPS_ENABLEDThe associated value is an List of Boolean.LDAPS_PORTThe associated value is an List of Integer.REPLICATION_SERVER_IDThe associated value is an Integer.REPLICATION_SERVER_PORTThe associated value is an Integer.SCHEMA_GENERATION_IDThe schema generation ID.STARTTLS_ENABLEDThe associated value is an List of Boolean.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerDescriptor.ServerPropertyvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerDescriptor.ServerProperty[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HOST_NAME
public static final ServerDescriptor.ServerProperty HOST_NAME
The associated value is a String.
-
LDAP_PORT
public static final ServerDescriptor.ServerProperty LDAP_PORT
The associated value is an List of Integer.
-
LDAPS_PORT
public static final ServerDescriptor.ServerProperty LDAPS_PORT
The associated value is an List of Integer.
-
ADMIN_PORT
public static final ServerDescriptor.ServerProperty ADMIN_PORT
The associated value is an Integer.
-
LDAP_ENABLED
public static final ServerDescriptor.ServerProperty LDAP_ENABLED
The associated value is an List of Boolean.
-
LDAPS_ENABLED
public static final ServerDescriptor.ServerProperty LDAPS_ENABLED
The associated value is an List of Boolean.
-
ADMIN_ENABLED
public static final ServerDescriptor.ServerProperty ADMIN_ENABLED
The associated value is an List of Boolean.
-
STARTTLS_ENABLED
public static final ServerDescriptor.ServerProperty STARTTLS_ENABLED
The associated value is an List of Boolean.
-
JMX_PORT
public static final ServerDescriptor.ServerProperty JMX_PORT
The associated value is an List of Integer.
-
JMXS_PORT
public static final ServerDescriptor.ServerProperty JMXS_PORT
The associated value is an List of Integer.
-
JMX_ENABLED
public static final ServerDescriptor.ServerProperty JMX_ENABLED
The associated value is an List of Boolean.
-
JMXS_ENABLED
public static final ServerDescriptor.ServerProperty JMXS_ENABLED
The associated value is an List of Boolean.
-
REPLICATION_SERVER_PORT
public static final ServerDescriptor.ServerProperty REPLICATION_SERVER_PORT
The associated value is an Integer.
-
IS_REPLICATION_SERVER
public static final ServerDescriptor.ServerProperty IS_REPLICATION_SERVER
The associated value is a Boolean.
-
IS_REPLICATION_ENABLED
public static final ServerDescriptor.ServerProperty IS_REPLICATION_ENABLED
The associated value is a Boolean.
-
IS_REPLICATION_SECURE
public static final ServerDescriptor.ServerProperty IS_REPLICATION_SECURE
The associated value is a Boolean.
-
EXTERNAL_REPLICATION_SERVERS
public static final ServerDescriptor.ServerProperty EXTERNAL_REPLICATION_SERVERS
List of servers specified in the Replication Server configuration. This is a Set of String.
-
REPLICATION_SERVER_ID
public static final ServerDescriptor.ServerProperty REPLICATION_SERVER_ID
The associated value is an Integer.
-
INSTANCE_PUBLIC_KEY_CERTIFICATE
public static final ServerDescriptor.ServerProperty INSTANCE_PUBLIC_KEY_CERTIFICATE
The instance key-pair public-key certificate. The associated value is a byte[] (ds-cfg-public-key-certificate;binary).
-
SCHEMA_GENERATION_ID
public static final ServerDescriptor.ServerProperty SCHEMA_GENERATION_ID
The schema generation ID.
-
-
Method Detail
-
values
public static ServerDescriptor.ServerProperty[] 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 (ServerDescriptor.ServerProperty c : ServerDescriptor.ServerProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerDescriptor.ServerProperty 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
-
-