Enum Class RdeResourceType

java.lang.Object
java.lang.Enum<RdeResourceType>
google.registry.rde.RdeResourceType
All Implemented Interfaces:
Serializable, Comparable<RdeResourceType>, Constable

public enum RdeResourceType extends Enum<RdeResourceType>
Types of objects that get embedded in an escrow deposit.
  • Enum Constant Details

  • Method Details

    • values

      public static RdeResourceType[] 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 RdeResourceType 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
    • getUri

      public String getUri()
      Returns RDE XML schema URI specifying resource.
    • getModes

      public com.google.common.collect.ImmutableSet<RdeMode> getModes()
      Returns set indicating if resource is stored in BRDA thin deposits.
    • getUris

      public static com.google.common.collect.ImmutableSortedSet<String> getUris(RdeMode mode)
      Returns set of resource type URIs included in a deposit mode.