public class ResourceMap
extends java.lang.Object
Constructor and Description |
---|
ResourceMap() |
ResourceMap(java.lang.String taskID) |
ResourceMap(YSpecificationID specID,
java.lang.String taskID,
Element eleSpec) |
ResourceMap(YSpecificationID specID,
java.lang.String taskID,
Element eleSpec,
boolean persisting) |
public ResourceMap()
public ResourceMap(java.lang.String taskID)
public ResourceMap(YSpecificationID specID, java.lang.String taskID, Element eleSpec)
public ResourceMap(YSpecificationID specID, java.lang.String taskID, Element eleSpec, boolean persisting)
public void setOfferInteraction(OfferInteraction oi)
public void setAllocateInteraction(AllocateInteraction ai)
public void setStartInteraction(StartInteraction si)
public void setSecondaryResources(SecondaryResources sr)
public void setTaskPrivileges(TaskPrivileges tp)
public OfferInteraction getOfferInteraction()
public AllocateInteraction getAllocateInteraction()
public StartInteraction getStartInteraction()
public SecondaryResources getSecondaryResources()
public TaskPrivileges getTaskPrivileges()
public java.util.Set<Participant> getDistributionSet()
public java.lang.String getTaskID()
public void setTaskID(java.lang.String taskID)
public java.lang.String getSpecName()
public YSpecificationID getSpecID()
public void setSpecID(YSpecificationID specID)
public java.lang.String getPiledResourceID()
public void setPiledResourceID(java.lang.String id)
public Participant getPiledResource()
public java.lang.String setPiledResource(Participant p, WorkItemRecord wir)
public void removePiledResource()
public boolean hasPiledResource()
public void setPersisting(boolean persist)
public boolean isPersisting()
public void ignore(WorkItemRecord wir, Participant p)
public TaggedStringList getIgnoredList(java.lang.String key)
public java.util.Set<Participant> getOfferedParticipants(java.lang.String itemID)
public boolean hasOffers(java.lang.String itemID)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkItemRecord distribute(WorkItemRecord wir)
public void withdrawOffer(WorkItemRecord wir)
public void removeIgnoreList(WorkItemRecord wir)
public void addToOfferedSet(WorkItemRecord wir, Participant p)
public void parse(Element eleSpec)
eleSpec
- the [resourcing] section from a particular task definition
within a specification file.public java.lang.String toXML()
public long get_id()
public void set_id(long id)
Copyright © 2004-2014 The YAWL Foundation.