Enum HostTypeEnum

java.lang.Object
java.lang.Enum<HostTypeEnum>
org.apache.directory.api.ldap.model.url.HostTypeEnum
All Implemented Interfaces:
Serializable, Comparable<HostTypeEnum>

public enum HostTypeEnum extends Enum<HostTypeEnum>
The type of Host we may have . One of :
  • IPV4 : IPV4 host
  • IPV6 : IPV6 host
  • IPV_FUTURE : IP v Future host
  • REGULAR_NAME : A regular name
Author:
Apache Directory Project
  • Enum Constant Details

    • IPV4

      public static final HostTypeEnum IPV4
      IP V4 host
    • IPV6

      public static final HostTypeEnum IPV6
      IP V6 host
    • IPV_FUTURE

      public static final HostTypeEnum IPV_FUTURE
      IP V(future) host
    • REGULAR_NAME

      public static final HostTypeEnum REGULAR_NAME
      Regular name host
  • Method Details

    • values

      public static HostTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HostTypeEnum 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 name
      NullPointerException - if the argument is null