public class HistoricalEventPolicy extends Object implements EvaluationPolicy
| Modifier and Type | Field and Description |
|---|---|
static HistoricalEventPolicy |
ALL_EVENTS
Predefined policy to include all event types in the process or activity instance.
|
static String |
PRP_PROPVIDE_EVENT_TYPES |
| Constructor and Description |
|---|
HistoricalEventPolicy(HistoricalEventType[] eventTypes)
Creates a policy for the given events.
|
HistoricalEventPolicy(int eventTypes)
Creates a policy for a given event type resp.
|
public static final String PRP_PROPVIDE_EVENT_TYPES
public static final HistoricalEventPolicy ALL_EVENTS
public HistoricalEventPolicy(int eventTypes)
To add more than one event type, just concatenate the types via the logical or operator
e.g. new HistoricalEventPolicy(HistoricalEventType.EXCEPTION | HistoricalEventType.DELEGATION).
eventTypes - events types which should be resolvedpublic HistoricalEventPolicy(HistoricalEventType[] eventTypes)
eventTypes - events types which should be resolvedCopyright © 2016 Eclipse Stardust. All Rights Reserved.