com.verisign.getdns

Enum ContextOptionValue

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ContextOptionValue>


    public enum ContextOptionValue
    extends java.lang.Enum<ContextOptionValue>
    This contains predefined context options values that can be used while configuring the context manually.
    • Enum Constant Detail

      • GETDNS_APPEND_NAME_ALWAYS

        public static final ContextOptionValue GETDNS_APPEND_NAME_ALWAYS
      • GETDNS_APPEND_NAME_NEVER

        public static final ContextOptionValue GETDNS_APPEND_NAME_NEVER
      • GETDNS_APPEND_NAME_ONLY_TO_MULTIPLE_LABEL_NAME_AFTER_FAILURE

        public static final ContextOptionValue GETDNS_APPEND_NAME_ONLY_TO_MULTIPLE_LABEL_NAME_AFTER_FAILURE
      • GETDNS_APPEND_NAME_ONLY_TO_SINGLE_LABEL_AFTER_FAILURE

        public static final ContextOptionValue GETDNS_APPEND_NAME_ONLY_TO_SINGLE_LABEL_AFTER_FAILURE
      • GETDNS_NAMESPACE_LOCALNAMES

        public static final ContextOptionValue GETDNS_NAMESPACE_LOCALNAMES
      • GETDNS_NAMESPACE_NETBIOS

        public static final ContextOptionValue GETDNS_NAMESPACE_NETBIOS
      • GETDNS_REDIRECTS_DO_NOT_FOLLOW

        public static final ContextOptionValue GETDNS_REDIRECTS_DO_NOT_FOLLOW
      • GETDNS_RESOLUTION_RECURSING

        public static final ContextOptionValue GETDNS_RESOLUTION_RECURSING
      • GETDNS_TRANSPORT_TCP_ONLY

        public static final ContextOptionValue GETDNS_TRANSPORT_TCP_ONLY
      • GETDNS_TRANSPORT_TCP_ONLY_KEEP_CONNECTIONS_OPEN

        public static final ContextOptionValue GETDNS_TRANSPORT_TCP_ONLY_KEEP_CONNECTIONS_OPEN
      • GETDNS_TRANSPORT_UDP_FIRST_AND_FALL_BACK_TO_TCP

        public static final ContextOptionValue GETDNS_TRANSPORT_UDP_FIRST_AND_FALL_BACK_TO_TCP
      • GETDNS_TRANSPORT_UDP_ONLY

        public static final ContextOptionValue GETDNS_TRANSPORT_UDP_ONLY
    • Method Detail

      • getvalue

        public java.lang.Integer getvalue()
      • valueOf

        public static ContextOptionValue 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
      • values

        public static ContextOptionValue[] 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 (ContextOptionValue c : ContextOptionValue.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared