public class TaskResourceSet
extends java.lang.Object
Constructor and Description |
---|
TaskResourceSet(YAtomicTask task) |
Modifier and Type | Method and Description |
---|---|
AllocateInteraction |
getAllocate() |
java.lang.String |
getInitiatorChars() |
java.util.Set<InvalidReference> |
getInvalidReferences() |
BasicOfferInteraction |
getOffer() |
BasicSecondaryResources |
getSecondary() |
StartInteraction |
getStart() |
YAtomicTask |
getTask() |
TaskPrivileges |
getTaskPrivileges() |
boolean |
hasAnyResourceReferences() |
boolean |
hasResources() |
void |
parse(org.jdom2.Element eleSpec)
Parse the Element passed for task resourcing info and build the appropriate
objects.
|
void |
parse(java.lang.String xml) |
void |
setTaskXML() |
java.lang.String |
toXML() |
public YAtomicTask getTask()
public BasicOfferInteraction getOffer()
public AllocateInteraction getAllocate()
public StartInteraction getStart()
public BasicSecondaryResources getSecondary()
public TaskPrivileges getTaskPrivileges()
public void setTaskXML()
public java.util.Set<InvalidReference> getInvalidReferences()
public boolean hasResources()
public boolean hasAnyResourceReferences()
public java.lang.String getInitiatorChars()
public void parse(org.jdom2.Element eleSpec)
eleSpec
- the [resourcing] section from a particular task definition
within a specification file.public void parse(java.lang.String xml)
public java.lang.String toXML()