public enum AppRoles extends Enum<AppRoles> implements org.jboss.errai.security.shared.api.Role
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static AppRoles |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppRoles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppRoles ADMIN
public static final AppRoles SUDO
public static final AppRoles MANAGER
public static final AppRoles DIRECTOR
public static AppRoles[] values()
for (AppRoles c : AppRoles.values()) System.out.println(c);
public static AppRoles 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 nullpublic String getName()
getName in interface org.jboss.errai.security.shared.api.RoleCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.