Enum RestGroupAuthorizationRole
- java.lang.Object
-
- java.lang.Enum<RestGroupAuthorizationRole>
-
- pl.edu.icm.unity.engine.api.project.RestGroupAuthorizationRole
-
- All Implemented Interfaces:
Serializable
,Comparable<RestGroupAuthorizationRole>
public enum RestGroupAuthorizationRole extends Enum<RestGroupAuthorizationRole>
Rest group authorization role with description- Author:
- P.Piernik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description manager
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
static RestGroupAuthorizationRole
valueOf(String name)
Returns the enum constant of this type with the specified name.static RestGroupAuthorizationRole[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
manager
public static final RestGroupAuthorizationRole manager
-
-
Method Detail
-
values
public static RestGroupAuthorizationRole[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RestGroupAuthorizationRole c : RestGroupAuthorizationRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestGroupAuthorizationRole 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 nameNullPointerException
- if the argument is null
-
getDescription
public String getDescription()
-
-