Package org.cip4.jdflib.goldenticket
Class MISGoldenTicket
- java.lang.Object
-
- org.cip4.jdflib.goldenticket.BaseGoldenTicket
-
- org.cip4.jdflib.goldenticket.MISGoldenTicket
-
- Direct Known Subclasses:
IDPGoldenTicket,MISCPGoldenTicket,MISFinGoldenTicket,MISPreGoldenTicket,NarrowWebGoldenTicket,PackagingGoldenTicket,ProductGoldenTicket,WideFormatGoldenTicket
public class MISGoldenTicket extends BaseGoldenTicket
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanbUsageCounterintdurationseconds this was activeprotected booleangrayBoxprotected intjmfICSLevelprotected intmisICSLevelintpreStartseconds ago that this startedintscheduleDurationduration in hours from now that this should be scheduled, if -1 do not scheduleintscheduleHoursseconds from now that this should be scheduled, if -1 do not schedule-
Fields inherited from class org.cip4.jdflib.goldenticket.BaseGoldenTicket
amountLinks, baseICSLevel, bExpandGrayBox, bPartitionedPlateMedia, category, catMap, cols, colsActual, deviceURL, devID, getNIFromParent, good, icsLevel, m_pdfFile, misURL, nCols, paperMedia, paperProductID, partIDKeys, partsAtOnce, partsForAvailable, plateReduction, returnURL, theExpandedNode, theNode, theParentNode, theParentProduct, thePreviousNode, theStatusCounter, theVersion, vParts, waste, workStyle
-
-
Constructor Summary
Constructors Constructor Description MISGoldenTicket(int misLevel, JDFElement.EnumVersion jdfVersion, int jmfLevel)create a BaseGoldenTicketMISGoldenTicket(MISGoldenTicket parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAmountLink(java.lang.String link)add the type of amount link for resource audits etcvoidassign(JDFNode node)assign a node to this golden ticket instancevoidexecute(VJDFAttributeMap vNodeMap, boolean bOutAvail, boolean bFirst)simulate execution of this node the internal node will be modified to reflect the excutionVStringgetICSVersions()voidinit()initializes this node to a given ICS versionprotected JDFCustomerInfoinitCustomerInfo()protected JDFDeviceinitDevice(JDFNode reuseNode)protected voidinitJDF()protected JDFNodeInfoinitNodeInfo()protected JDFUsageCounterinitUsageCounter()voidsetGrayBox(boolean _grayBox)-
Methods inherited from class org.cip4.jdflib.goldenticket.BaseGoldenTicket
addJDFNode, addKid, addSheet, createSheetMap, executeAll, fillCatMaps, finalizeProcess, getCategory, getCols, getDeviceURL, getExpandedNode, getMisURL, getNCols, getNode, getNodeLinks, getReducedMap, getStatusCounter, getTypes, initAuditPool, initColorantControl, initColorPool, initDocumentRunList, initOutputComponent, initPaperMedia, initPlateMedia, initPlateXM, makeReady, makeReadyAll, runphases, runSinglePhase, schedule, setActivePart, setCategory, setDeviceURL, setMisURL, setParent, setParent, setPreviousNode, setVersion, toString, write2File
-
-
-
-
Field Detail
-
misICSLevel
protected int misICSLevel
-
jmfICSLevel
protected int jmfICSLevel
-
bUsageCounter
protected boolean bUsageCounter
-
preStart
public int preStart
seconds ago that this started
-
duration
public int duration
seconds this was active
-
scheduleHours
public int scheduleHours
seconds from now that this should be scheduled, if -1 do not schedule
-
scheduleDuration
public int scheduleDuration
duration in hours from now that this should be scheduled, if -1 do not schedule
-
grayBox
protected boolean grayBox
-
-
Constructor Detail
-
MISGoldenTicket
public MISGoldenTicket(int misLevel, JDFElement.EnumVersion jdfVersion, int jmfLevel)create a BaseGoldenTicket- Parameters:
misLevel- the mis level to init to ( 1,2 or 3)jdfVersion- the version to generate a golden ticket forjmfLevel- level of jmf ICS to support
-
MISGoldenTicket
public MISGoldenTicket(MISGoldenTicket parent)
- Parameters:
parent-
-
-
Method Detail
-
getICSVersions
public VString getICSVersions()
- Overrides:
getICSVersionsin classBaseGoldenTicket- Returns:
- the ics versions
- See Also:
BaseGoldenTicket.getICSVersions()
-
assign
public void assign(JDFNode node)
Description copied from class:BaseGoldenTicketassign a node to this golden ticket instance- Overrides:
assignin classBaseGoldenTicket- Parameters:
node- the node to assign, if null a new conforming node is generated from scratch
-
initNodeInfo
protected JDFNodeInfo initNodeInfo()
- Overrides:
initNodeInfoin classBaseGoldenTicket- Returns:
-
execute
public void execute(VJDFAttributeMap vNodeMap, boolean bOutAvail, boolean bFirst)
simulate execution of this node the internal node will be modified to reflect the excution- Overrides:
executein classBaseGoldenTicket
-
initUsageCounter
protected JDFUsageCounter initUsageCounter()
- Returns:
-
init
public void init()
initializes this node to a given ICS version- Overrides:
initin classBaseGoldenTicket
-
initCustomerInfo
protected JDFCustomerInfo initCustomerInfo()
- Returns:
-
initDevice
protected JDFDevice initDevice(JDFNode reuseNode)
- Overrides:
initDevicein classBaseGoldenTicket- Returns:
-
addAmountLink
public void addAmountLink(java.lang.String link)
add the type of amount link for resource audits etc- Overrides:
addAmountLinkin classBaseGoldenTicket- Parameters:
link-
-
setGrayBox
public void setGrayBox(boolean _grayBox)
- Parameters:
_grayBox- the grayBox to set
-
initJDF
protected void initJDF()
- Overrides:
initJDFin classBaseGoldenTicket
-
-