Enum RoleType

java.lang.Object
java.lang.Enum<RoleType>
io.apicurio.registry.types.RoleType
All Implemented Interfaces:
Serializable, Comparable<RoleType>, java.lang.constant.Constable

public enum RoleType extends Enum<RoleType>
  • Enum Constant Details

    • READ_ONLY

      public static final RoleType READ_ONLY
    • DEVELOPER

      public static final RoleType DEVELOPER
    • ADMIN

      public static final RoleType ADMIN
  • Method Details

    • values

      public static RoleType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RoleType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<RoleType>
    • value

      public String value()
    • fromValue

      public static RoleType fromValue(String value)