Enum Registry.TldState

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Registry.TldState>
    Enclosing class:
    Registry

    public static enum Registry.TldState
    extends java.lang.Enum<Registry.TldState>
    The states a TLD can be in at any given point in time. The ordering below is the required sequence of states (ignoring PDT which is a pseudo-state).
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      GENERAL_AVAILABILITY
      The steady state of a TLD in which all domain names are available via first-come, first-serve.
      PDT
      A "fake" state for use in predelegation testing.
      PREDELEGATION
      The state of not yet being delegated to this registry in the root zone by IANA.
      QUIET_PERIOD
      A state in which no domain operations are permitted.
      START_DATE_SUNRISE
      The state in which only trademark holders can submit a "create" request.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Registry.TldState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Registry.TldState[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • PREDELEGATION

        public static final Registry.TldState PREDELEGATION
        The state of not yet being delegated to this registry in the root zone by IANA.
      • START_DATE_SUNRISE

        public static final Registry.TldState START_DATE_SUNRISE
        The state in which only trademark holders can submit a "create" request. It is identical to GENERAL_AVAILABILITY in all other respects.
      • QUIET_PERIOD

        public static final Registry.TldState QUIET_PERIOD
        A state in which no domain operations are permitted. Generally used between sunrise and general availability. This state is special in that it has no ordering constraints and can appear after any phase.
      • GENERAL_AVAILABILITY

        public static final Registry.TldState GENERAL_AVAILABILITY
        The steady state of a TLD in which all domain names are available via first-come, first-serve.
    • Method Detail

      • values

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

        public static Registry.TldState 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