Enum Registrar.State

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

    public static enum Registrar.State
    extends java.lang.Enum<Registrar.State>
    Represents the state of a persisted registrar entity.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTIVE
      This is an active registrar account which is allowed to provision and modify domains.
      DISABLED
      This registrar is completely disabled and cannot perform any EPP actions whatsoever, nor log in to the registrar console.
      PENDING
      This registrar is provisioned but not yet active, and cannot log in.
      SUSPENDED
      This is a suspended account which is disallowed from provisioning new domains, but can otherwise still perform other operations to continue operations.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Registrar.State valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Registrar.State[] 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

      • PENDING

        public static final Registrar.State PENDING
        This registrar is provisioned but not yet active, and cannot log in.
      • ACTIVE

        public static final Registrar.State ACTIVE
        This is an active registrar account which is allowed to provision and modify domains.
      • SUSPENDED

        public static final Registrar.State SUSPENDED
        This is a suspended account which is disallowed from provisioning new domains, but can otherwise still perform other operations to continue operations.
      • DISABLED

        public static final Registrar.State DISABLED
        This registrar is completely disabled and cannot perform any EPP actions whatsoever, nor log in to the registrar console.
    • Method Detail

      • values

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

        public static Registrar.State 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