Class BaseGoldenTicket

    • Field Detail

      • amountLinks

        protected VString amountLinks
      • theNode

        protected JDFNode theNode
      • theExpandedNode

        protected JDFNode theExpandedNode
      • thePreviousNode

        protected JDFNode thePreviousNode
      • theParentNode

        protected JDFNode theParentNode
      • category

        protected java.lang.String category
      • catMap

        protected java.util.Map<java.lang.String,​VString> catMap
      • theParentProduct

        public JDFNode theParentProduct
      • baseICSLevel

        protected int baseICSLevel
      • icsLevel

        protected int icsLevel
      • misURL

        public static java.lang.String misURL
      • deviceURL

        public static java.lang.String deviceURL
      • cols

        public VString cols
        the list of separation names
      • colsActual

        public VString colsActual
      • plateReduction

        public java.lang.String plateReduction
        list of partition keys NOT to partition by
      • nCols

        public int[] nCols
      • paperProductID

        public java.lang.String paperProductID
      • partIDKeys

        protected VString partIDKeys
      • devID

        public java.lang.String devID
      • good

        public int good
        good for plan and execute
      • waste

        public int waste
        pwaste for plan and execute
      • partsAtOnce

        public int partsAtOnce
      • partsForAvailable

        public int partsForAvailable
      • bExpandGrayBox

        public boolean bExpandGrayBox
      • bPartitionedPlateMedia

        public boolean bPartitionedPlateMedia
      • paperMedia

        public JDFMedia paperMedia
      • returnURL

        public java.lang.String returnURL
        if set, the returnURL will be initialized
      • getNIFromParent

        public boolean getNIFromParent
      • m_pdfFile

        public java.lang.String m_pdfFile
    • Constructor Detail

      • BaseGoldenTicket

        public BaseGoldenTicket​(int pIcsLevel,
                                JDFElement.EnumVersion jdfVersion)
        create a BaseGoldenTicket
        Parameters:
        pIcsLevel - the level to init to (1,2 or 3)
        jdfVersion - the version to generate a golden ticket for
      • BaseGoldenTicket

        public BaseGoldenTicket​(BaseGoldenTicket parent)
        create a BaseGoldenTicket
        Parameters:
        parent -
    • Method Detail

      • getCols

        protected VString getCols()
        Returns:
      • createSheetMap

        public static VJDFAttributeMap createSheetMap​(int n)
        Parameters:
        n -
        Returns:
      • initNodeInfo

        protected JDFNodeInfo initNodeInfo()
        Returns:
      • assign

        public void assign​(JDFNode node)
        assign a node to this golden ticket instance
        Parameters:
        node - the node to assign, if null a new conforming node is generated from scratch
      • setPreviousNode

        public void setPreviousNode​(JDFNode node)
        assign a previous node to this golden ticket instance, e.g. an imagesetting node
        Parameters:
        node - the node to assign, if null a new conforming node is generated from scratch
      • addKid

        public void addKid​(BaseGoldenTicket bt)
        add a kid to be makeready and executed
        Parameters:
        bt - the golden ticket to assign, if null a new conforming node is generated from scratch
      • makeReadyAll

        public void makeReadyAll()
        makeready for all kids
      • makeReady

        public void makeReady()
        simulate makeReady of this node the internal node will be modified to reflect the makeready all required resources should be available
      • setActivePart

        public void setActivePart​(VJDFAttributeMap vp,
                                  boolean bFirst)
        Parameters:
        vp -
        bFirst -
      • executeAll

        public void executeAll​(VJDFAttributeMap parts)
        execute for all kids
        Parameters:
        parts -
      • execute

        public void execute​(VJDFAttributeMap vMap,
                            boolean bOutAvail,
                            boolean bFirst)
        simulate execution of this node the internal node will be modified to reflect the excution
        Parameters:
        vMap -
        bOutAvail -
        bFirst -
      • runphases

        protected void runphases​(int pgood,
                                 int pwaste,
                                 boolean bOutAvail,
                                 boolean bFirst)
      • schedule

        public void schedule​(VJDFAttributeMap partsToSchedule,
                             int starthours,
                             int durationhours)
        schedule this node the nodeinfo will be modified
        Parameters:
        partsToSchedule -
        starthours -
        durationhours -
      • runSinglePhase

        protected final void runSinglePhase​(int pgood,
                                            int pwaste,
                                            boolean bOutAvail,
                                            boolean bFirst)
        Parameters:
        pgood -
        pwaste -
        bOutAvail -
        bFirst -
      • finalizeProcess

        protected void finalizeProcess()
        do the last steps prior to processrun
      • setVersion

        protected void setVersion()
      • setParent

        public void setParent​(boolean bProduct)
        Parameters:
        bProduct -
      • init

        public void init()
        initializes this node to a given ICS version
      • initDevice

        protected JDFDevice initDevice​(JDFNode previousNode)
        Parameters:
        previousNode -
        Returns:
      • initAuditPool

        public void initAuditPool​(JDFNode node)
        Parameters:
        node -
      • initJDF

        protected void initJDF()
      • getICSVersions

        public VString getICSVersions()
        Returns:
      • getNodeLinks

        protected VElement getNodeLinks()
        Returns:
      • getNode

        public JDFNode getNode()
        gets the current state of the node
        Returns:
        the theNode
      • getExpandedNode

        public JDFNode getExpandedNode()
        gets the current state of the node
        Returns:
        the theNode
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • write2File

        public void write2File​(java.lang.String file,
                               int indent)
        Parameters:
        file -
        indent -
      • getStatusCounter

        public StatusCounter getStatusCounter()
        Returns:
      • getDeviceURL

        public static java.lang.String getDeviceURL()
        Returns:
      • setDeviceURL

        public static void setDeviceURL​(java.lang.String pdeviceURL)
        Parameters:
        pdeviceURL -
      • getMisURL

        public static java.lang.String getMisURL()
        Returns:
      • setMisURL

        public static void setMisURL​(java.lang.String _misURL)
        Parameters:
        _misURL -
      • addSheet

        public void addSheet​(java.lang.String sheetName)
        add a signature sheet combination
        Parameters:
        sheetName -
      • addAmountLink

        public void addAmountLink​(java.lang.String link)
        add the type of amount link for resource audits etc
        Parameters:
        link -
      • initColorantControl

        protected void initColorantControl()
      • initColorPool

        protected JDFColorPool initColorPool()
        Returns:
      • initPaperMedia

        protected JDFMedia initPaperMedia()
        Returns:
      • getReducedMap

        protected VJDFAttributeMap getReducedMap​(VString reduceKeys)
        get a reduced partionmap missing the keys in reduceKeys
        Parameters:
        reduceKeys -
        Returns:
        the reduced map
      • initPlateMedia

        protected JDFMedia initPlateMedia()
        Returns:
        the Media
      • getNCols

        public int getNCols()
        Returns:
        the number of colors
      • initDocumentRunList

        protected JDFRunList initDocumentRunList()
        Returns:
      • initOutputComponent

        protected JDFComponent initOutputComponent()
        Returns:
      • fillCatMaps

        protected void fillCatMaps()
      • getTypes

        public VString getTypes()
        get the correct Types from category
        Returns:
      • getCategory

        public java.lang.String getCategory()
        Returns:
      • setCategory

        public void setCategory​(java.lang.String _category)
        Parameters:
        _category -