public enum HistoryLevel extends Enum<HistoryLevel>
| Enum Constant and Description |
|---|
ACTIVITY |
AUDIT |
FULL |
INSTANCE |
NONE |
TASK |
| Modifier and Type | Method and Description |
|---|---|
static HistoryLevel |
getHistoryLevelForKey(String key) |
String |
getKey()
String representation of this history-level.
|
boolean |
isAtLeast(HistoryLevel level)
Checks if the given level is the same as, or higher in order than the level this method is executed on.
|
static HistoryLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistoryLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoryLevel NONE
public static final HistoryLevel INSTANCE
public static final HistoryLevel TASK
public static final HistoryLevel ACTIVITY
public static final HistoryLevel AUDIT
public static final HistoryLevel FULL
public static HistoryLevel[] values()
for (HistoryLevel c : HistoryLevel.values()) System.out.println(c);
public static HistoryLevel 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 static HistoryLevel getHistoryLevelForKey(String key)
key - string representation of levelHistoryLevel for the given keyFlowableException - when passed in key doesn't correspond to existing levelpublic String getKey()
public boolean isAtLeast(HistoryLevel level)
Copyright © 2022 Flowable. All rights reserved.