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