org.jbpm.designer.shared.security
public enum AppRoles extends Enum<AppRoles> implements org.uberfire.security.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.uberfire.security.Role
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.