|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.cip4.jdflib.core.KElement
org.cip4.jdflib.core.JDFElement
org.cip4.jdflib.auto.JDFAutoQueueEntry
org.cip4.jdflib.jmf.JDFQueueEntry
public class JDFQueueEntry
| Nested Class Summary | |
|---|---|
static class |
JDFQueueEntry.QueueEntryComparator
|
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoQueueEntry |
|---|
JDFAutoQueueEntry.EnumQueueEntryStatus |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.JDFElement |
|---|
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.KElement |
|---|
KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator |
| Field Summary |
|---|
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
|---|
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
JDFQueueEntry(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFQueueEntry |
|
JDFQueueEntry(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFQueueEntry |
|
JDFQueueEntry(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFQueueEntry |
|
| Method Summary | |
|---|---|
int |
compareTo(KElement arg0)
|
JDFJobPhase |
getCreateJobPhase()
Deprecated. use getCreateJobPhase(n) this is a legacy version |
NodeIdentifier |
getIdentifier()
gets the NodeIdetifier that matches this |
JDFJobPhase |
getJobPhase()
Deprecated. use getJobPhase(n) this is a legacy version |
JDFQueueEntry |
getNextQueueEntry()
get the next sibling queueentry |
Vector<JDFAutoQueueEntry.EnumQueueEntryStatus> |
getNextStatusVector()
get the vector of valid next @Status values for this queue entry based on the current status based on the table of valid queue entry transitions |
VJDFAttributeMap |
getPartMapVector()
get part map vector |
JDFQueueEntry |
getPreviousQueueEntry()
get the previous sibling queueentry |
int |
getSortPriority()
Deprecated. |
static int |
getSortPriority(JDFAutoQueueEntry.EnumQueueEntryStatus status,
int priority)
Deprecated. |
boolean |
hasPartMap(JDFAttributeMap mPart)
check whether the part defined by mPart is included |
boolean |
isCompleted()
|
boolean |
matchesNodeIdentifier(NodeIdentifier ni)
return true if this qe matches the input node identifier |
boolean |
matchesQueueFilter(JDFQueueFilter filter)
Deprecated. use QueueFilter.matches |
void |
removePartMap(JDFAttributeMap mPart)
remove the part defined in mPart |
void |
setEndTime(JDFDate value)
(11) set attribute EndTime |
void |
setFromJDF(JDFNode jdf)
populates this queuentry with the relevant parameters extracted from a JDF jobid, partmap, jobpartid etc. |
void |
setIdentifier(NodeIdentifier ni)
gets the NodeIdentifier that matches this |
void |
setPartMap(JDFAttributeMap mPart)
set all parts to those defined by mPart |
void |
setPartMapVector(VJDFAttributeMap vParts)
set all parts to those define in vParts |
void |
setPriority(int value)
(36) set attribute Priority |
void |
setQueueEntryStatus(JDFAutoQueueEntry.EnumQueueEntryStatus value)
sets the QueueEntry/@Status if the queue is automated, also resorts the queue to reflect the new Status and sets the Queue/@Status based on the maximum number of concurrently running jobs also sets StartTime and EndTime appropriately if the queue is automated |
void |
setStartTime(JDFDate value)
(11) set attribute StartTime |
void |
setSubmissionTime(JDFDate value)
(11) set attribute SubmissionTime |
void |
sortQueue(int oldVal)
Deprecated. call JDFQueue.sortChildren() |
String |
toString()
toString() |
| Methods inherited from class org.cip4.jdflib.auto.JDFAutoQueueEntry |
|---|
appendJobPhase, appendPart, getAllJobPhase, getAllPart, getCreateJobPhase, getCreatePart, getDeviceID, getEndTime, getGangName, getJobID, getJobPartID, getJobPhase, getPart, getPriority, getQueueEntryID, getQueueEntryStatus, getStartTime, getSubmissionTime, getTheAttributeInfo, getTheElementInfo, setDeviceID, setGangName, setJobID, setJobPartID, setQueueEntryID |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
|---|
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public JDFQueueEntry(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFQueueEntry(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFQueueEntry(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
public String toString()
toString in class JDFAutoQueueEntryObject.toString()public VJDFAttributeMap getPartMapVector()
getPartMapVector in class JDFElementpublic void setPartMapVector(VJDFAttributeMap vParts)
setPartMapVector in class JDFElementvParts - vector of attribute maps for the partspublic void setPartMap(JDFAttributeMap mPart)
setPartMap in class JDFElementmPart - attribute map for the part to setpublic void removePartMap(JDFAttributeMap mPart)
removePartMap in class JDFElementmPart - attribute map for the part to removepublic boolean matchesNodeIdentifier(NodeIdentifier ni)
ni -
@Deprecated public boolean matchesQueueFilter(JDFQueueFilter filter)
filter -
public boolean hasPartMap(JDFAttributeMap mPart)
hasPartMap in class JDFElementmPart - attribute map to look for
public void setPriority(int value)
JDFAutoQueueEntry
setPriority in class JDFAutoQueueEntryvalue - JDFAutoQueueEntry.setPriority(int)@Deprecated public void sortQueue(int oldVal)
oldVal - - the previous sort value, use -1 to sort from backpublic void setQueueEntryStatus(JDFAutoQueueEntry.EnumQueueEntryStatus value)
setQueueEntryStatus in class JDFAutoQueueEntryvalue - the queuentry status to setJDFAutoQueueEntry.setQueueEntryStatus(org.cip4.jdflib.auto.JDFAutoQueueEntry.EnumQueueEntryStatus)public NodeIdentifier getIdentifier()
getIdentifier in interface INodeIdentifiablepublic void setIdentifier(NodeIdentifier ni)
setIdentifier in interface INodeIdentifiableni - public JDFQueueEntry getNextQueueEntry()
public JDFQueueEntry getPreviousQueueEntry()
public Vector<JDFAutoQueueEntry.EnumQueueEntryStatus> getNextStatusVector()
public boolean isCompleted()
@Deprecated public int getSortPriority()
@Deprecated public JDFJobPhase getJobPhase()
@Deprecated public JDFJobPhase getCreateJobPhase()
@Deprecated
public static int getSortPriority(JDFAutoQueueEntry.EnumQueueEntryStatus status,
int priority)
status - priority -
public void setFromJDF(JDFNode jdf)
jdf - public int compareTo(KElement arg0)
compareTo in interface Comparable<KElement>arg0 -
Comparable.compareTo(java.lang.Object)public void setEndTime(JDFDate value)
JDFAutoQueueEntry
setEndTime in class JDFAutoQueueEntryvalue - JDFAutoQueueEntry.setEndTime(org.cip4.jdflib.util.JDFDate)public void setStartTime(JDFDate value)
JDFAutoQueueEntry
setStartTime in class JDFAutoQueueEntryvalue - JDFAutoQueueEntry.setStartTime(org.cip4.jdflib.util.JDFDate)public void setSubmissionTime(JDFDate value)
JDFAutoQueueEntry
setSubmissionTime in class JDFAutoQueueEntryvalue - JDFAutoQueueEntry.setSubmissionTime(org.cip4.jdflib.util.JDFDate)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||