public enum Permissions extends Enum<Permissions> implements Permission
Permissions
for camunda BPM.Enum Constant and Description |
---|
ACCESS
Indicates that ACCESS interactions are permitted.
|
ALL
Indicates that all interactions are permitted.
|
CREATE
Indicates that CREATE interactions are permitted.
|
DELETE
Indicates that DELETE interactions are permitted.
|
NONE
The none permission means 'no action', 'doing nothing'.
|
READ
Indicates that READ interactions are permitted.
|
UPDATE
Indicates that UPDATE interactions are permitted.
|
Modifier and Type | Method and Description |
---|---|
static Permission |
forName(String name) |
String |
getName()
returns the name of the perwission, ie.
|
int |
getValue()
returns the unique numeric value of the permission.
|
String |
toString() |
static Permissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions NONE
public static final Permissions ALL
public static final Permissions READ
public static final Permissions UPDATE
public static final Permissions CREATE
public static final Permissions DELETE
public static final Permissions ACCESS
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions 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 toString()
toString
in class Enum<Permissions>
public String getName()
Permission
getName
in interface Permission
public int getValue()
Permission
getValue
in interface Permission
public static Permission forName(String name)
Copyright © 2015. All rights reserved.