Enum Class RegistrarRole

java.lang.Object
java.lang.Enum<RegistrarRole>
google.registry.model.console.RegistrarRole
All Implemented Interfaces:
Serializable, Comparable<RegistrarRole>, Constable

public enum RegistrarRole extends Enum<RegistrarRole>
Roles for registrar partners that apply to only one registrar.
  • Enum Constant Details

    • ACCOUNT_MANAGER

      public static final RegistrarRole ACCOUNT_MANAGER
      The user is a standard account manager at a registrar.
    • ACCOUNT_MANAGER_WITH_REGISTRY_LOCK

      public static final RegistrarRole ACCOUNT_MANAGER_WITH_REGISTRY_LOCK
      The user is an account manager that can perform registry locks.
    • TECH_CONTACT

      public static final RegistrarRole TECH_CONTACT
      The user is a technical contact of a registrar.
    • PRIMARY_CONTACT

      public static final RegistrarRole PRIMARY_CONTACT
      The user is the primary contact at a registrar.
  • Method Details

    • values

      public static RegistrarRole[] 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 RegistrarRole 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
    • hasPermission

      public boolean hasPermission(ConsolePermission permission)