public enum Privileges extends Enum<Privileges> implements Privilege
| Enum Constant and Description |
|---|
ADMIN |
BENCHMARK |
CREATE_DEPLOYMENT |
CREATE_PROJECTS |
CREATE_TABLES |
DELETE_DEPLOYMENT |
DELETE_PROJECTS |
DEPLOY_PROJECTS |
EDIT_DEPLOYMENT |
EDIT_PROJECTS |
EDIT_TABLES |
ERASE_DEPLOYMENT |
ERASE_PROJECTS |
REMOVE_TABLES |
RUN |
TRACE |
UNLOCK_DEPLOYMENT |
UNLOCK_PROJECTS |
VIEW_PROJECTS |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthority() |
String |
getDisplayName() |
String |
getName() |
static Privileges |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Privileges[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Privileges VIEW_PROJECTS
public static final Privileges CREATE_PROJECTS
public static final Privileges EDIT_PROJECTS
public static final Privileges ERASE_PROJECTS
public static final Privileges DELETE_PROJECTS
public static final Privileges UNLOCK_PROJECTS
public static final Privileges DEPLOY_PROJECTS
public static final Privileges CREATE_DEPLOYMENT
public static final Privileges EDIT_DEPLOYMENT
public static final Privileges DELETE_DEPLOYMENT
public static final Privileges ERASE_DEPLOYMENT
public static final Privileges UNLOCK_DEPLOYMENT
public static final Privileges CREATE_TABLES
public static final Privileges EDIT_TABLES
public static final Privileges REMOVE_TABLES
public static final Privileges RUN
public static final Privileges TRACE
public static final Privileges BENCHMARK
public static final Privileges ADMIN
public static Privileges[] values()
for (Privileges c : Privileges.values()) System.out.println(c);
public static Privileges 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 getDisplayName()
getDisplayName in interface Privilegepublic String getAuthority()
getAuthority in interface org.springframework.security.core.GrantedAuthorityCopyright © 2019. All rights reserved.