Enum Class User.Role

java.lang.Object
java.lang.Enum<User.Role>
org.springframework.geode.core.env.support.User.Role
All Implemented Interfaces:
Serializable, Comparable<User.Role>, Constable
Enclosing class:
User

public static enum User.Role extends Enum<User.Role>
  • Enum Constant Details

    • CLUSTER_OPERATOR

      public static final User.Role CLUSTER_OPERATOR
    • DEVELOPER

      public static final User.Role DEVELOPER
  • Method Details

    • values

      public static User.Role[] 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 User.Role 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
    • of

      public static User.Role of(String name)
    • isClusterOperator

      public boolean isClusterOperator()
    • isDeveloper

      public boolean isDeveloper()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<User.Role>