org.yawlfoundation.yawl.resourcing.constraints
Class SeparationOfDuties

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.AbstractSelector
      extended by org.yawlfoundation.yawl.resourcing.constraints.AbstractConstraint
          extended by org.yawlfoundation.yawl.resourcing.constraints.SeparationOfDuties

public class SeparationOfDuties
extends AbstractConstraint

Separation of Duties - a constraint that disallows a participant who has completed a 'familiar task' in the current case from being allocated a task applying this constraint. Create Date: 03/08/2007. Last Date: 12/11/2007

Version:
2.0
Author:
Michael Adams (BPM Group, QUT Australia)

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector
_canonicalName, _description, _displayName, _name, _params
 
Constructor Summary
SeparationOfDuties()
           
 
Method Summary
 Set<Participant> performConstraint(Set<Participant> resources, WorkItemRecord wir)
          Ensures that any participants who completed the 'familiar task' in the current case are removed from the distribution set
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.constraints.AbstractConstraint
toXML, unmarshal
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector
addKey, addParam, addParams, getCanonicalName, getClassName, getDescription, getDisplayName, getInformation, getKeys, getName, getParamKeys, getParams, getParamValue, reconstitute, setCanonicalName, setDescription, setDisplayName, setKeyValue, setName, setParams, toString, unmarshalParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SeparationOfDuties

public SeparationOfDuties()
Method Detail

performConstraint

public Set<Participant> performConstraint(Set<Participant> resources,
                                          WorkItemRecord wir)
Ensures that any participants who completed the 'familiar task' in the current case are removed from the distribution set

Specified by:
performConstraint in class AbstractConstraint
Parameters:
resources - the distribution set of participants
wir - the workitem to be resourced
Returns:
the constrained distribution set


Copyright © 2004-2012 The YAWL Foundation.