public final class NodeIdentifier extends Object implements IMatches, INodeIdentifiable
Constructor and Description |
---|
NodeIdentifier() |
NodeIdentifier(INodeIdentifiable ni)
creates a NodeIdentifier from a given QueueEntry
|
NodeIdentifier(String jobID,
String jobPartID,
VJDFAttributeMap partMapVector) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object inObject) |
NodeIdentifier |
getIdentifier()
formalism so zhat we can use this as a
INodeIdentifiable |
String |
getJobID() |
String |
getJobPartID() |
VJDFAttributeMap |
getPartMapVector() |
int |
hashCode() |
boolean |
matches(Object o)
return true if the nodeIdentifier matches this, i.e. if all parameters match or o has matching wildcards, or o==null
|
void |
setIdentifier(NodeIdentifier n)
sets a NodeIdentifier to a given JDF node identifier uses the AncestorPool or NodeInfo or output resource in that sequence to determine the partmap
|
void |
setTo(INodeIdentifiable qe)
sets a NodeIdentifier to a given JDF node
|
void |
setTo(String jobID,
String jobPartID,
VJDFAttributeMap partMapVector) |
String |
toString() |
public NodeIdentifier(String jobID, String jobPartID, VJDFAttributeMap partMapVector)
jobID
- jobPartID
- partMapVector
- public NodeIdentifier()
public NodeIdentifier(INodeIdentifiable ni)
ni
- the INodeIdentifiable to set this topublic void setTo(String jobID, String jobPartID, VJDFAttributeMap partMapVector)
jobID
- jobPartID
- partMapVector
- public void setIdentifier(NodeIdentifier n)
setIdentifier
in interface INodeIdentifiable
n
- public void setTo(INodeIdentifiable qe)
qe
- public boolean equals(Object inObject)
equals
in class Object
Object.equals(java.lang.Object)
public boolean matches(Object o)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public String getJobID()
public String getJobPartID()
public VJDFAttributeMap getPartMapVector()
public NodeIdentifier getIdentifier()
INodeIdentifiable
getIdentifier
in interface INodeIdentifiable
NodeIdentifier
the nodeidentifier that matches thisINodeIdentifiable.getIdentifier()
Copyright © 2018. All rights reserved.