public enum Role extends Enum<Role>
| Enum Constant and Description |
|---|
CHANNEL_ADMIN |
CHANNEL_USER |
SYSTEM_ADMIN |
SYSTEM_POST_ALL |
SYSTEM_POST_ALL_PUBLIC |
SYSTEM_USER |
SYSTEM_USER_ACCESS_TOKEN |
TEAM_ADMIN |
TEAM_POST_ALL |
TEAM_POST_ALL_PUBLIC |
TEAM_USER |
| Modifier and Type | Method and Description |
|---|---|
static Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role SYSTEM_USER
public static final Role SYSTEM_ADMIN
public static final Role SYSTEM_POST_ALL
public static final Role SYSTEM_POST_ALL_PUBLIC
public static final Role SYSTEM_USER_ACCESS_TOKEN
public static final Role TEAM_USER
public static final Role TEAM_ADMIN
public static final Role TEAM_POST_ALL
public static final Role TEAM_POST_ALL_PUBLIC
public static final Role CHANNEL_USER
public static final Role CHANNEL_ADMIN
public static Role[] values()
for (Role c : Role.values()) System.out.println(c);
public static Role valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.