Package com.isode.dsapi.syntax
Enum Class BindProfileAddress.AddressType
java.lang.Object
java.lang.Enum<BindProfileAddress.AddressType>
com.isode.dsapi.syntax.BindProfileAddress.AddressType
- All Implemented Interfaces:
Serializable
,Comparable<BindProfileAddress.AddressType>
,Constable
- Enclosing class:
- BindProfileAddress
An enumeration defining the different address types that can be used to
create a bind profile.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionint
compareBindProfileAddress
(BindProfileAddress thisBPA, BindProfileAddress thatBPA) Compare two bind profile addresses for the given address typeint
Returns the "Isode default" port to be used for this type of address.boolean
Returns whether this is an LDAP, LDAPS or XMPP URL type of address.Returns the URI scheme to be used if it is an LDAP or LDAPS URL type of address.int
Returns the "protocol standard" port to be used for this type of address.boolean
toString()
Returns the enum constant of this class with the specified name.static BindProfileAddress.AddressType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DAP
DAP -
LDAP
LDAP -
LDAPS
LDAPS -
XMPP
XMPP -
MCONSOLE
MConsole private things -
SDAT
SDAT GUI- Since:
- 16.1
-
ADVANCED
Advanced -
OTHER
Anything else
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getIsNonPaUri
public boolean getIsNonPaUri()Returns whether this is an LDAP, LDAPS or XMPP URL type of address.- Returns:
- TRUE if this is an LDAP, LDAPS or XMPP URL type of address.
-
getScheme
Returns the URI scheme to be used if it is an LDAP or LDAPS URL type of address.- Returns:
- URI scheme.
-
getStandardPort
public int getStandardPort()Returns the "protocol standard" port to be used for this type of address. For example, the standard port for LDAP is 389.- Returns:
- The standard port to be used for this type of address.
-
getDefaultPort
public int getDefaultPort()Returns the "Isode default" port to be used for this type of address. For example, the default port for LDAP is 19389.- Returns:
- The default port to be used for this type of address.
-
toString
- Overrides:
toString
in classEnum<BindProfileAddress.AddressType>
-
isApplicationType
public boolean isApplicationType() -
compareBindProfileAddress
Compare two bind profile addresses for the given address type- Parameters:
thisBPA
- bind profile address to compare, not nullthatBPA
- bind profile address to compare to, not null- Returns:
- result of comparison
- Since:
- 16.1
-