Package org.xbill.DNS

Enum Class SetResponseType

java.lang.Object
java.lang.Enum<SetResponseType>
org.xbill.DNS.SetResponseType
All Implemented Interfaces:
Serializable, Comparable<SetResponseType>, Constable

enum SetResponseType extends Enum<SetResponseType>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The Cache or Zone found a CNAME when looking for the name.
    A delegation enclosing the requested name was found.
    The Cache or Zone found a DNAME when looking for the name.
    The Zone does not contain the requested name, or the Cache has determined that the name does not exist.
    The Zone contains the name, but no data of the requested type, or the Cache has determined that the name exists and has no data of the requested type.
    The Cache or Zone has successfully answered the question for the requested name/type/class.
    The Cache contains no information about the requested name/type
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final boolean
    If true, no RRsets can be added.
    private final boolean
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • UNKNOWN

      public static final SetResponseType UNKNOWN
      The Cache contains no information about the requested name/type
    • NXDOMAIN

      public static final SetResponseType NXDOMAIN
      The Zone does not contain the requested name, or the Cache has determined that the name does not exist.
    • NXRRSET

      public static final SetResponseType NXRRSET
      The Zone contains the name, but no data of the requested type, or the Cache has determined that the name exists and has no data of the requested type.
    • DELEGATION

      public static final SetResponseType DELEGATION
      A delegation enclosing the requested name was found.
    • CNAME

      public static final SetResponseType CNAME
      The Cache or Zone found a CNAME when looking for the name.
      See Also:
    • DNAME

      public static final SetResponseType DNAME
      The Cache or Zone found a DNAME when looking for the name.
      See Also:
    • SUCCESSFUL

      public static final SetResponseType SUCCESSFUL
      The Cache or Zone has successfully answered the question for the requested name/type/class.
  • Field Details

    • printRecords

      private final boolean printRecords
    • isSealed

      private final boolean isSealed
      If true, no RRsets can be added. Intended for static NX* instances.
  • Constructor Details

    • SetResponseType

      private SetResponseType()
  • Method Details

    • values

      public static SetResponseType[] 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

      public static SetResponseType valueOf(String name)
      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 name
      NullPointerException - if the argument is null