public enum HistoricalStatesPolicy extends Enum<HistoricalStatesPolicy> implements EvaluationPolicy
| Enum Constant and Description |
|---|
NO_HIST_STATES
Retrieve no historical states.
|
WITH_HIST_STATES
Retrieve all historical states.
|
WITH_LAST_HIST_STATE
Retrieve the last historical state only.
|
WITH_LAST_USER_PERFORMER
Retrieve the last user performer from historical states.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PRP_PROPVIDE_HIST_STATES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
includeHistStates()
Determines whether this policy can be used in order to retrieve historical states.
|
boolean |
isCompleteHistory()
Determines whether this policy can be used in order to retrieve complete states history.
|
static HistoricalStatesPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistoricalStatesPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistoricalStatesPolicy NO_HIST_STATES
public static final HistoricalStatesPolicy WITH_LAST_HIST_STATE
public static final HistoricalStatesPolicy WITH_LAST_USER_PERFORMER
public static final HistoricalStatesPolicy WITH_HIST_STATES
public static final String PRP_PROPVIDE_HIST_STATES
public static HistoricalStatesPolicy[] values()
for (HistoricalStatesPolicy c : HistoricalStatesPolicy.values()) System.out.println(c);
public static HistoricalStatesPolicy 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 boolean includeHistStates()
true if this policy can be used in order to retrieve historical states. Otherwise false.public boolean isCompleteHistory()
true if this policy can be used in order to retrieve complete states history. Otherwise false.Copyright © 2016 Eclipse Stardust. All Rights Reserved.