public class InstanceFilter
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
InstanceFilter() |
Modifier and Type | Method and Description |
---|---|
void |
addCorrelationSetFilter(java.lang.String correlationSetName,
CorrelationKey correlation)
Add a correlation set filter.
|
CorrelationKey |
getCorrelationSetFilter(java.lang.String setName)
Returns the correlation correlationKey for a correlation set filter.
|
java.lang.String[] |
getCorrelationSetFilters()
Returns the names of the correlation sets used in this filter.
|
java.util.Date |
getEndTime()
Filters all process instances started before the specified end
time.
|
int |
getMaxReturn()
The maximum number of instances to return.
|
int |
getSkip()
The number of instances to skip.
|
java.util.Date |
getStartTime()
Filters all process instances started after the specified start
time.
|
short[] |
getStates()
Returns only process instances in the specified states.
|
void |
setEndTime(java.util.Date endTime)
Filters all process instances started before the specified end
time.
|
void |
setMaxReturn(int maxReturn)
The maximum number of instances to return.
|
void |
setSkip(int skip)
The number of instances to skip.
|
void |
setStartTime(java.util.Date startTime)
Filters all process instances started after the specified start
time.
|
void |
setStates(short[] states)
Returns only process instances in the specified states.
|
public CorrelationKey getCorrelationSetFilter(java.lang.String setName)
setName
- correlation set filter namepublic java.lang.String[] getCorrelationSetFilters()
public void setEndTime(java.util.Date endTime)
endTime
- The endTime to set.public java.util.Date getEndTime()
public void setMaxReturn(int maxReturn)
maxReturn
- The maxReturn to set.public int getMaxReturn()
public void setSkip(int skip)
skip
- The skip to set.public int getSkip()
public void setStartTime(java.util.Date startTime)
startTime
- The startTime to set.public java.util.Date getStartTime()
public void setStates(short[] states)
ProcessInstance
. Leaving this field blank will
return instances in any state.states
- The states to set.public short[] getStates()
ProcessInstance
. Leaving this field blank will
return instances in any state.public void addCorrelationSetFilter(java.lang.String correlationSetName, CorrelationKey correlation)
correlationSetName
- correlation
-