Enum StatusValue

    • Enum Constant Detail


        public static final StatusValue CLIENT_DELETE_PROHIBITED

        public static final StatusValue CLIENT_HOLD

        public static final StatusValue CLIENT_RENEW_PROHIBITED

        public static final StatusValue CLIENT_TRANSFER_PROHIBITED

        public static final StatusValue CLIENT_UPDATE_PROHIBITED
      • INACTIVE

        public static final StatusValue INACTIVE
        A status for a domain with no nameservers.
      • LINKED

        public static final StatusValue LINKED
        A status for a resource has an incoming reference from an active domain.

        LINKED is a "virtual" status value that should never be persisted to Datastore on any resource. It must be computed on the fly when we need it, as the set of domains using a resource can change at any time.

      • OK

        public static final StatusValue OK
        A status for a resource that has no other statuses.

        For domains, OK is only present when absolutely no other statuses are present. For contacts and hosts, the spec also allows a resource to have LINKED along with OK, but we implement LINKED as a virtual status that gets appended to outputs (such as info commands) on the fly, so we can ignore LINKED when dealing with persisted resources.


        public static final StatusValue PENDING_CREATE
        A status for a resource undergoing asynchronous creation.

        This status is here for completeness, but it is not used by our system.


        public static final StatusValue PENDING_DELETE
        A status for a resource indicating that deletion has been requested but has not yet happened.

        Contacts and hosts are deleted asynchronously because we need to check their incoming references with strong consistency, requiring an asynchronous process, and during that asynchronous process they have the PENDING_DELETE status.

        Domains in the add grace period are deleted synchronously and do not ever have this status. Otherwise, domains go through an extended deletion process, consisting of a 30-day redemption grace period followed by a 5-day "pending delete" period before they are actually 100% deleted. These domains have the PENDING_DELETE status throughout that 35-day window.


        public static final StatusValue PENDING_TRANSFER
        A status for a resource with an unresolved transfer request.

        Hosts transfer indirectly via superordinate domain.


        public static final StatusValue PENDING_UPDATE
        A status for a resource undergoing an asynchronous update.

        This status is here for completeness, but it is not used by our system.


        public static final StatusValue SERVER_DELETE_PROHIBITED
        A non-client-settable status that prevents deletes of EPP resources.

        public static final StatusValue SERVER_HOLD

        public static final StatusValue SERVER_RENEW_PROHIBITED

        public static final StatusValue SERVER_TRANSFER_PROHIBITED
        A non-client-settable status that prevents transfers of EPP resources.

        public static final StatusValue SERVER_UPDATE_PROHIBITED
        A non-client-settable status that prevents updates of EPP resources, except by superusers.
    • Method Detail

      • values

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

        public static StatusValue 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isClientSettable

        public boolean isClientSettable()
      • isServerSettable

        public boolean isServerSettable()
      • isChargedStatus

        public boolean isChargedStatus()
      • isAllowedOn

        public boolean isAllowedOn​(java.lang.Class<? extends EppResource> resource)
      • fromXmlName

        public static StatusValue fromXmlName​(java.lang.String xmlName)