public abstract class AbstractFilter extends AbstractSelector
Modifier and Type | Field and Description |
---|---|
protected int |
_filterType |
static int |
CAPABILITY_FILTER |
static int |
HISTORICAL_FILTER |
static int |
ORGANISATIONAL_FILTER |
_canonicalName, _description, _displayName, _name, _params
Constructor and Description |
---|
AbstractFilter()
Constructors
|
AbstractFilter(java.lang.String name) |
AbstractFilter(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> params) |
AbstractFilter(java.lang.String name,
java.lang.String description) |
AbstractFilter(java.lang.String name,
java.lang.String desc,
java.util.Map<java.lang.String,java.lang.String> params) |
Modifier and Type | Method and Description |
---|---|
int |
getFilterType()
**************************************************************************
|
abstract java.util.Set<Participant> |
performFilter(java.util.Set<Participant> resources)
Abstract method, to be implemented by all child classes, which carries out
whatever filtering the class has been created to do.
|
void |
setFilterType(int fType) |
java.lang.String |
toXML() |
addKey, addParam, addParams, compareTo, equals, evaluate, getCanonicalName, getClassName, getDescription, getDisplayName, getInformation, getKeys, getName, getParamKeys, getParams, getParamValue, hashCode, intersection, reconstitute, setCanonicalName, setDescription, setDisplayName, setKeyValue, setName, setParams, toString, union, unmarshalParams
public static final int ORGANISATIONAL_FILTER
public static final int CAPABILITY_FILTER
public static final int HISTORICAL_FILTER
protected int _filterType
public AbstractFilter()
public AbstractFilter(java.lang.String name)
public AbstractFilter(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> params)
public AbstractFilter(java.lang.String name, java.lang.String description)
public AbstractFilter(java.lang.String name, java.lang.String desc, java.util.Map<java.lang.String,java.lang.String> params)
public int getFilterType()
public void setFilterType(int fType)
public java.lang.String toXML()
toXML
in class AbstractSelector
public abstract java.util.Set<Participant> performFilter(java.util.Set<Participant> resources)
resources
- a distribution set of Participant objectsCopyright © 2004-2014 The YAWL Foundation.