|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.query.HistoricalEventPolicy
public class HistoricalEventPolicy
Evaluation policy determining the inclusion of the given event types in process and activity instances.
| Field Summary | |
|---|---|
static HistoricalEventPolicy |
ALL_EVENTS
Predefined policy to include all event types in the process or activity instance. |
static String |
PRP_PROPVIDE_EVENT_TYPES
|
| Constructor Summary | |
|---|---|
HistoricalEventPolicy(HistoricalEventType[] eventTypes)
Creates a policy for the given events. |
|
HistoricalEventPolicy(int eventTypes)
Creates a policy for a given event type resp. |
|
| Method Summary | |
|---|---|
int |
getEventTypes()
Gets the requested event types |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PRP_PROPVIDE_EVENT_TYPES
public static final HistoricalEventPolicy ALL_EVENTS
| Constructor Detail |
|---|
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 resolved| Method Detail |
|---|
public int getEventTypes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||