|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.stardust.engine.api.query.ProcessInstanceFilter
public final class ProcessInstanceFilter
Filter criterion for matching specific process instances.
ProcessInstanceQuery.OID,
Serialized Form| Constructor Summary | |
|---|---|
ProcessInstanceFilter(long processInstanceOID)
Creates a filter matching the closure of the process instance identified by processInstanceOID. |
|
ProcessInstanceFilter(long processInstanceOID,
boolean includeSubprocesses)
Creates a filter matching either the closure of the process instance identified by processInstanceOID or just the process instance itself. |
|
| Method Summary | |
|---|---|
Object |
accept(FilterEvaluationVisitor visitor,
Object context)
Visitor dispatch callback used for evaluating filter criteria. |
long |
getOID()
Returns the OID of the process instance this filter is based on. |
Set |
getOids()
|
static ProcessInstanceFilter |
in(Set<Long> oids)
|
static ProcessInstanceFilter |
in(Set<Long> oids,
boolean includingSubprocesses)
|
boolean |
isIncludingSubprocesses()
Flag indicating if the filter is matching the instance closure (including all subprocess instances) or just the process instance itself. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessInstanceFilter(long processInstanceOID)
processInstanceOID.
processInstanceOID - The OID of the process instance to be matched.ProcessInstanceFilter(long, boolean),
ProcessInstanceQuery.OID
public ProcessInstanceFilter(long processInstanceOID,
boolean includeSubprocesses)
processInstanceOID or just the process instance itself.
processInstanceOID - The OID of the process instance to be matched.includeSubprocesses - Flag indicating if the instance closure (including all
subprocess instances) will be used for matching or not.ProcessInstanceFilter(long),
ProcessInstanceQuery.OID| Method Detail |
|---|
public long getOID()
isIncludingSubprocesses()public Set getOids()
public boolean isIncludingSubprocesses()
true if the filter is matching the instance closure (including
all subprocess instances), false if just the process instance
itself.getOID()
public Object accept(FilterEvaluationVisitor visitor,
Object context)
FilterCriterionreturn visitor.visit(this, context), thus calling the appropriately
overloaded visitation method.
accept in interface FilterCriterionvisitor - The visitor performing the evaluation.context - Information used by the visitor during the visitation process.
public static ProcessInstanceFilter in(Set<Long> oids)
public static ProcessInstanceFilter in(Set<Long> oids,
boolean includingSubprocesses)
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||