org.yawlfoundation.yawl.resourcing.interactions
Class AllocateInteraction

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.interactions.AbstractInteraction
      extended by org.yawlfoundation.yawl.resourcing.interactions.AllocateInteraction

public class AllocateInteraction
extends AbstractInteraction

This class describes the requirements of a task at the allocate phase of allocating resources.

Author:
Michael Adams v0.1, 02/08/2007

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.interactions.AbstractInteraction
_initiator, _ownerTaskID, SYSTEM_INITIATED, USER_INITIATED
 
Constructor Summary
AllocateInteraction()
           
AllocateInteraction(int initiator)
           
AllocateInteraction(String ownerTaskID)
           
 
Method Summary
 AbstractAllocator getAllocator()
           
 void parse(org.jdom.Element e, org.jdom.Namespace nsYawl)
           
 Participant performAllocation(Set offerSet, WorkItemRecord wir)
           
 void setAllocator(AbstractAllocator allocator)
           
 String toXML()
           
 
Methods inherited from class org.yawlfoundation.yawl.resourcing.interactions.AbstractInteraction
getInitiator, getInitiatorString, getOwnerTaskID, isSystemInitiated, parseInitiator, parseParams, setInitiator, setOwnerTaskID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllocateInteraction

public AllocateInteraction(int initiator)

AllocateInteraction

public AllocateInteraction()

AllocateInteraction

public AllocateInteraction(String ownerTaskID)
Method Detail

setAllocator

public void setAllocator(AbstractAllocator allocator)

getAllocator

public AbstractAllocator getAllocator()

performAllocation

public Participant performAllocation(Set offerSet,
                                     WorkItemRecord wir)

parse

public void parse(org.jdom.Element e,
                  org.jdom.Namespace nsYawl)
           throws ResourceParseException
Throws:
ResourceParseException

toXML

public String toXML()


Copyright © 2004-2012 The YAWL Foundation.