|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.util.StatusUtil
@Deprecated public class StatusUtil
Utility class for status JDF and JMF
| Nested Class Summary | |
|---|---|
class |
StatusUtil.AmountBag
Deprecated. container class to set amounts and waste in phaseTime |
| Field Summary | |
|---|---|
protected VJDFAttributeMap |
m_vPartMap
Deprecated. |
| Constructor Summary | |
|---|---|
StatusUtil(JDFNode node,
VJDFAttributeMap vPartMap,
VElement vResLinks)
Deprecated. construct a StatusUtil for a node n |
|
| Method Summary | |
|---|---|
static StatusUtil.AmountBag |
getBag(String refID,
StatusUtil.AmountBag[] bags)
Deprecated. get the matching AmountBag out of an array |
String |
getDeviceID()
Deprecated. |
JDFDoc |
getDocJMFPhaseTime()
Deprecated. |
JDFDoc |
getDocJMFResource()
Deprecated. |
String |
getFirstRefID()
Deprecated. get the refID of the first resource, i.e. the Resource that is being tracked in status messages |
org.cip4.jdflib.util.StatusUtil.LinkAmount |
getLinkAmount(String refID)
Deprecated. get the matching LinkAmount out of this |
void |
setCopyResInResInfo(JDFResourceLink rl,
boolean b)
Deprecated. set copying the resource into resourceInfo on or off for the resourcelink rl |
void |
setDeviceID(String deviceid)
Deprecated. |
void |
setPhase(JDFElement.EnumNodeStatus nodeStatus,
String nodeStatusDetails,
JDFAutoDeviceInfo.EnumDeviceStatus deviceStatus,
String deviceStatusDetails,
StatusUtil.AmountBag[] amounts)
Deprecated. Set the Status and StatusDetails of this node update the PhaseTime audit or append a new phasetime as appropriate also prepare a status JMF |
JDFProcessRun |
setProcessResult(JDFElement.EnumNodeStatus endStatus)
Deprecated. |
JDFResourceAudit |
setResourceAudit(StatusUtil.AmountBag bag,
JDFAutoResourceAudit.EnumReason reason)
Deprecated. |
void |
setTrackWaste(JDFResourceLink rl,
boolean b)
Deprecated. set waste tracking on or off for the resourcelink rl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected VJDFAttributeMap m_vPartMap
| Constructor Detail |
|---|
public StatusUtil(JDFNode node,
VJDFAttributeMap vPartMap,
VElement vResLinks)
node - the JDFNode that is being processedvPartMap - the map of Parts that is being processed excluding the waste partitionvResLinks - the reslinks that are tracked for amount handling| Method Detail |
|---|
public static StatusUtil.AmountBag getBag(String refID,
StatusUtil.AmountBag[] bags)
refID - the refID of the bag - this MUST match the refID of a ResourceLinkbags - the array of bags to search in
public org.cip4.jdflib.util.StatusUtil.LinkAmount getLinkAmount(String refID)
refID - the refID of the bag - this MUST match the refID of a ResourceLink
public String getFirstRefID()
public void setPhase(JDFElement.EnumNodeStatus nodeStatus,
String nodeStatusDetails,
JDFAutoDeviceInfo.EnumDeviceStatus deviceStatus,
String deviceStatusDetails,
StatusUtil.AmountBag[] amounts)
nodeStatus - the new status of the nodenodeStatusDetails - the new statusDetails of the nodedeviceStatus - the new status of the devicedeviceStatusDetails - the new statusDetails of the deviceamounts - public JDFDoc getDocJMFPhaseTime()
public JDFDoc getDocJMFResource()
public String getDeviceID()
public void setDeviceID(String deviceid)
deviceid - the deviceID to set
public void setTrackWaste(JDFResourceLink rl,
boolean b)
rl - the resourcelink to the resource to trackb - tracking on or off
public void setCopyResInResInfo(JDFResourceLink rl,
boolean b)
rl - the resourcelink to the resource to copyb - tracking on or off
public JDFResourceAudit setResourceAudit(StatusUtil.AmountBag bag,
JDFAutoResourceAudit.EnumReason reason)
bag - reason -
public JDFProcessRun setProcessResult(JDFElement.EnumNodeStatus endStatus)
endStatus -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||