public final class ProcessInstanceFilter extends Object implements FilterCriterion
ProcessInstanceQuery.OID,
Serialized Form| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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() |
public ProcessInstanceFilter(long processInstanceOID)
processInstanceOID.processInstanceOID - The OID of the process instance to be matched.ProcessInstanceFilter(long, boolean),
ProcessInstanceQuery.OIDpublic 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.OIDpublic 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)
Copyright © 2016 Eclipse Stardust. All Rights Reserved.