Enum PermissionOutput
- java.lang.Object
-
- java.lang.Enum<PermissionOutput>
-
- com.flowable.platform.service.permission.PermissionOutput
-
- All Implemented Interfaces:
Serializable
,Comparable<PermissionOutput>
public enum PermissionOutput extends Enum<PermissionOutput>
An enumeration containing the various outcomes of the default, DMN based conversation permissions.- Author:
- Micha Kiener
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPENDS_ON_DETAILS
DEPENDS_ON_GROUP
DEPENDS_ON_GROUP_OR_DETAILS
NO
YES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
static PermissionOutput
parseFromKey(Object key)
static PermissionOutput
valueOf(String name)
Returns the enum constant of this type with the specified name.static PermissionOutput[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
YES
public static final PermissionOutput YES
-
NO
public static final PermissionOutput NO
-
DEPENDS_ON_GROUP
public static final PermissionOutput DEPENDS_ON_GROUP
-
DEPENDS_ON_GROUP_OR_DETAILS
public static final PermissionOutput DEPENDS_ON_GROUP_OR_DETAILS
-
DEPENDS_ON_DETAILS
public static final PermissionOutput DEPENDS_ON_DETAILS
-
-
Method Detail
-
values
public static PermissionOutput[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermissionOutput c : PermissionOutput.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermissionOutput valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getKey
public String getKey()
-
parseFromKey
public static PermissionOutput parseFromKey(Object key)
-
-