public abstract class AbstractConstraint extends AbstractSelector
_canonicalName, _description, _displayName, _name, _params
Constructor and Description |
---|
AbstractConstraint()
Constructors
|
AbstractConstraint(java.lang.String name) |
AbstractConstraint(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> params) |
AbstractConstraint(java.lang.String name,
java.lang.String description) |
AbstractConstraint(java.lang.String name,
java.lang.String desc,
java.util.Map<java.lang.String,java.lang.String> params) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Set<Participant> |
performConstraint(java.util.Set<Participant> resources,
WorkItemRecord wir)
Performs a constraint against the distribution set passed
|
java.lang.String |
toXML()
Generates the XML required for the specification file
|
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 AbstractConstraint()
public AbstractConstraint(java.lang.String name)
public AbstractConstraint(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> params)
public AbstractConstraint(java.lang.String name, java.lang.String description)
public AbstractConstraint(java.lang.String name, java.lang.String desc, java.util.Map<java.lang.String,java.lang.String> params)
public java.lang.String toXML()
toXML
in class AbstractSelector
public abstract java.util.Set<Participant> performConstraint(java.util.Set<Participant> resources, WorkItemRecord wir)
resources
- the distribution set of participantswir
- the workitem being resourcedCopyright © 2004-2014 The YAWL Foundation.