org.opends.admin.ads
Enum ServerDescriptor.ServerProperty

java.lang.Object
  extended by java.lang.Enum<ServerDescriptor.ServerProperty>
      extended by org.opends.admin.ads.ServerDescriptor.ServerProperty
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ServerDescriptor.ServerProperty>
Enclosing class:
ServerDescriptor

public static enum ServerDescriptor.ServerProperty
extends java.lang.Enum<ServerDescriptor.ServerProperty>

Enumeration containing the different server properties that we can keep in the ServerProperty object.


Enum Constant Summary
EXTERNAL_REPLICATION_SERVERS
          List of servers specified in the Replication Server configuration.
HOST_NAME
          The associated value is a String.
INSTANCE_PUBLIC_KEY_CERTIFICATE
          The instance key-pair public-key certificate.
IS_REPLICATION_ENABLED
          The associated value is a Boolean.
IS_REPLICATION_SECURE
          The associated value is a Boolean.
IS_REPLICATION_SERVER
          The associated value is a Boolean.
JMX_ENABLED
          The associated value is an ArrayList of Boolean.
JMX_PORT
          The associated value is an ArrayList of Integer.
JMXS_ENABLED
          The associated value is an ArrayList of Boolean.
JMXS_PORT
          The associated value is an ArrayList of Integer.
LDAP_ENABLED
          The associated value is an ArrayList of Boolean.
LDAP_PORT
          The associated value is an ArrayList of Integer.
LDAPS_ENABLED
          The associated value is an ArrayList of Boolean.
LDAPS_PORT
          The associated value is an ArrayList of Integer.
REPLICATION_SERVER_ID
          The associated value is an Integer.
REPLICATION_SERVER_PORT
          The associated value is an Integer.
SCHEMA_GENERATION_ID
          The schema generation ID.
STARTTLS_ENABLED
          The associated value is an ArrayList of Boolean.
 
Method Summary
static ServerDescriptor.ServerProperty valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 ArrayList of Integer.


LDAPS_PORT

public static final ServerDescriptor.ServerProperty LDAPS_PORT
The associated value is an ArrayList of Integer.


LDAP_ENABLED

public static final ServerDescriptor.ServerProperty LDAP_ENABLED
The associated value is an ArrayList of Boolean.


LDAPS_ENABLED

public static final ServerDescriptor.ServerProperty LDAPS_ENABLED
The associated value is an ArrayList of Boolean.


STARTTLS_ENABLED

public static final ServerDescriptor.ServerProperty STARTTLS_ENABLED
The associated value is an ArrayList of Boolean.


JMX_PORT

public static final ServerDescriptor.ServerProperty JMX_PORT
The associated value is an ArrayList of Integer.


JMXS_PORT

public static final ServerDescriptor.ServerProperty JMXS_PORT
The associated value is an ArrayList of Integer.


JMX_ENABLED

public static final ServerDescriptor.ServerProperty JMX_ENABLED
The associated value is an ArrayList of Boolean.


JMXS_ENABLED

public static final ServerDescriptor.ServerProperty JMXS_ENABLED
The associated value is an ArrayList 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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null