Enum Class SpaceRole

java.lang.Object
java.lang.Enum<SpaceRole>
io.meeds.mcp.server.tool.constant.SpaceRole
All Implemented Interfaces:
Serializable, Comparable<SpaceRole>, Constable

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

    • MEMBER

      public static final SpaceRole MEMBER
    • MANAGER

      public static final SpaceRole MANAGER
    • REDACTOR

      public static final SpaceRole REDACTOR
    • PUBLISHER

      public static final SpaceRole PUBLISHER
    • INVITED

      public static final SpaceRole INVITED
    • PENDING

      public static final SpaceRole PENDING
  • Method Details

    • values

      public static SpaceRole[] 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 SpaceRole 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