Enum ConnectionHandlerDescriptor.Protocol
- java.lang.Object
-
- java.lang.Enum<ConnectionHandlerDescriptor.Protocol>
-
- org.opends.guitools.controlpanel.datamodel.ConnectionHandlerDescriptor.Protocol
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectionHandlerDescriptor.Protocol>
- Enclosing class:
- ConnectionHandlerDescriptor
public static enum ConnectionHandlerDescriptor.Protocol extends Enum<ConnectionHandlerDescriptor.Protocol>
Enumeration used to represent the Protocol of the listener.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTRATION_CONNECTORAdmin connector protocol.HTTPHTTP protocol.HTTPSHTTP secure protocol.JMXJMX protocol.JMXSJMX secure protocol.LDAPLDAP protocol.LDAP_STARTTLSLDAP accepting Start TLS protocol.LDAPSLDAP secure protocol.LDIFLDIF protocol.OTHEROther protocol.REPLICATIONReplication protocol.REPLICATION_SECURESecure replication protocol.SNMPSNMP protocol.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.forgerock.i18n.LocalizableMessagegetDisplayMessage()Returns the display LocalizableMessage to be used for the protocol.static ConnectionHandlerDescriptor.ProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectionHandlerDescriptor.Protocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LDAP
public static final ConnectionHandlerDescriptor.Protocol LDAP
LDAP protocol.
-
LDAP_STARTTLS
public static final ConnectionHandlerDescriptor.Protocol LDAP_STARTTLS
LDAP accepting Start TLS protocol.
-
LDAPS
public static final ConnectionHandlerDescriptor.Protocol LDAPS
LDAP secure protocol.
-
HTTP
public static final ConnectionHandlerDescriptor.Protocol HTTP
HTTP protocol.
-
HTTPS
public static final ConnectionHandlerDescriptor.Protocol HTTPS
HTTP secure protocol.
-
JMX
public static final ConnectionHandlerDescriptor.Protocol JMX
JMX protocol.
-
JMXS
public static final ConnectionHandlerDescriptor.Protocol JMXS
JMX secure protocol.
-
LDIF
public static final ConnectionHandlerDescriptor.Protocol LDIF
LDIF protocol.
-
SNMP
public static final ConnectionHandlerDescriptor.Protocol SNMP
SNMP protocol.
-
REPLICATION
public static final ConnectionHandlerDescriptor.Protocol REPLICATION
Replication protocol. Even if in the configuration is not considered as a listener, we display it on the table.
-
REPLICATION_SECURE
public static final ConnectionHandlerDescriptor.Protocol REPLICATION_SECURE
Secure replication protocol.
-
ADMINISTRATION_CONNECTOR
public static final ConnectionHandlerDescriptor.Protocol ADMINISTRATION_CONNECTOR
Admin connector protocol.
-
OTHER
public static final ConnectionHandlerDescriptor.Protocol OTHER
Other protocol.
-
-
Method Detail
-
values
public static ConnectionHandlerDescriptor.Protocol[] 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 (ConnectionHandlerDescriptor.Protocol c : ConnectionHandlerDescriptor.Protocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectionHandlerDescriptor.Protocol 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
-
getDisplayMessage
public org.forgerock.i18n.LocalizableMessage getDisplayMessage()
Returns the display LocalizableMessage to be used for the protocol.- Returns:
- the display LocalizableMessage to be used for the protocol.
-
-