public class BaseGoldenTicket extends Object
Constructor and Description |
---|
BaseGoldenTicket(BaseGoldenTicket parent)
create a BaseGoldenTicket
|
BaseGoldenTicket(int pIcsLevel,
JDFElement.EnumVersion jdfVersion)
create a BaseGoldenTicket
|
Modifier and Type | Method and Description |
---|---|
void |
addAmountLink(String link)
add the type of amount link for resource audits etc
|
protected JDFNode |
addJDFNode(JDFNode node,
JDFNode.EnumType t) |
void |
addKid(BaseGoldenTicket bt)
add a kid to be makeready and executed
|
void |
addSheet(String sheetName)
add a signature sheet combination
|
void |
assign(JDFNode node)
assign a node to this golden ticket instance
|
static VJDFAttributeMap |
createSheetMap(int n) |
void |
execute(VJDFAttributeMap vMap,
boolean bOutAvail,
boolean bFirst)
simulate execution of this node the internal node will be modified to reflect the excution
|
void |
executeAll(VJDFAttributeMap parts)
execute for all kids
|
protected void |
fillCatMaps() |
protected void |
finalize()
do the last steps prior to processrun
|
String |
getCategory() |
protected VString |
getCols() |
static String |
getDeviceURL() |
JDFNode |
getExpandedNode()
gets the current state of the node
|
VString |
getICSVersions() |
static String |
getMisURL() |
int |
getNCols() |
JDFNode |
getNode()
gets the current state of the node
|
protected VElement |
getNodeLinks() |
protected VJDFAttributeMap |
getReducedMap(VString reduceKeys)
get a reduced partionmap missing the keys in reduceKeys
|
StatusCounter |
getStatusCounter() |
VString |
getTypes()
get the correct Types from category
|
void |
init()
initializes this node to a given ICS version
|
void |
initAuditPool(JDFNode node) |
protected void |
initColorantControl() |
protected JDFColorPool |
initColorPool() |
protected JDFDevice |
initDevice(JDFNode previousNode) |
protected JDFRunList |
initDocumentRunList() |
protected void |
initJDF() |
protected JDFNodeInfo |
initNodeInfo() |
protected JDFComponent |
initOutputComponent() |
protected JDFMedia |
initPaperMedia() |
protected JDFMedia |
initPlateMedia() |
protected void |
initPlateXM(JDFResourceLink.EnumUsage usage) |
void |
makeReady()
simulate makeReady of this node the internal node will be modified to reflect the makeready all required resources should be available
|
void |
makeReadyAll()
makeready for all kids
|
protected void |
runphases(int pgood,
int pwaste,
boolean bOutAvail,
boolean bFirst) |
protected void |
runSinglePhase(int pgood,
int pwaste,
boolean bOutAvail,
boolean bFirst) |
void |
schedule(VJDFAttributeMap partsToSchedule,
int starthours,
int durationhours)
schedule this node the nodeinfo will be modified
|
void |
setActivePart(VJDFAttributeMap vp,
boolean bFirst) |
void |
setCategory(String _category) |
static void |
setDeviceURL(String pdeviceURL) |
static void |
setMisURL(String _misURL) |
void |
setParent(boolean bProduct) |
void |
setParent(ProductGoldenTicket parent) |
void |
setPreviousNode(JDFNode node)
assign a previous node to this golden ticket instance, e.g. an imagesetting node
|
protected void |
setVersion() |
String |
toString() |
void |
write2File(String file,
int indent) |
protected VString amountLinks
protected JDFNode theNode
protected JDFNode theExpandedNode
protected JDFNode thePreviousNode
protected JDFNode theParentNode
protected String category
public JDFNode theParentProduct
protected JDFElement.EnumVersion theVersion
protected int baseICSLevel
protected int icsLevel
protected StatusCounter theStatusCounter
public static String misURL
public static String deviceURL
public VJDFAttributeMap vParts
public VString cols
public VString colsActual
public String plateReduction
public int[] nCols
public String paperProductID
protected VString partIDKeys
public JDFAutoConventionalPrintingParams.EnumWorkStyle workStyle
public String devID
public int good
public int waste
public int partsAtOnce
public int partsForAvailable
public boolean bExpandGrayBox
public boolean bPartitionedPlateMedia
public JDFMedia paperMedia
public String returnURL
public boolean getNIFromParent
public String m_pdfFile
public BaseGoldenTicket(int pIcsLevel, JDFElement.EnumVersion jdfVersion)
pIcsLevel
- the level to init to (1,2 or 3)jdfVersion
- the version to generate a golden ticket forpublic BaseGoldenTicket(BaseGoldenTicket parent)
parent
- protected VString getCols()
public static VJDFAttributeMap createSheetMap(int n)
n
- protected JDFNodeInfo initNodeInfo()
public void assign(JDFNode node)
node
- the node to assign, if null a new conforming node is generated from scratchpublic void setPreviousNode(JDFNode node)
node
- the node to assign, if null a new conforming node is generated from scratchpublic void addKid(BaseGoldenTicket bt)
bt
- the golden ticket to assign, if null a new conforming node is generated from scratchpublic void makeReadyAll()
public void makeReady()
public void setActivePart(VJDFAttributeMap vp, boolean bFirst)
vp
- bFirst
- public void executeAll(VJDFAttributeMap parts)
parts
- public void execute(VJDFAttributeMap vMap, boolean bOutAvail, boolean bFirst)
vMap
- bOutAvail
- bFirst
- protected void runphases(int pgood, int pwaste, boolean bOutAvail, boolean bFirst)
public void schedule(VJDFAttributeMap partsToSchedule, int starthours, int durationhours)
partsToSchedule
- starthours
- durationhours
- protected final void runSinglePhase(int pgood, int pwaste, boolean bOutAvail, boolean bFirst)
pgood
- pwaste
- bOutAvail
- bFirst
- protected void finalize()
protected void setVersion()
public void setParent(boolean bProduct)
bProduct
- public void setParent(ProductGoldenTicket parent)
bProduct
- public void init()
public void initAuditPool(JDFNode node)
node
- protected JDFNode addJDFNode(JDFNode node, JDFNode.EnumType t)
node
- t
- protected void initJDF()
public VString getICSVersions()
protected VElement getNodeLinks()
public JDFNode getNode()
public JDFNode getExpandedNode()
public String toString()
toString
in class Object
Object.toString()
public void write2File(String file, int indent)
file
- indent
- public StatusCounter getStatusCounter()
public static String getDeviceURL()
public static void setDeviceURL(String pdeviceURL)
pdeviceURL
- public static String getMisURL()
public static void setMisURL(String _misURL)
_misURL
- public void addSheet(String sheetName)
sheetName
- public void addAmountLink(String link)
link
- protected void initColorantControl()
protected JDFColorPool initColorPool()
protected JDFMedia initPaperMedia()
protected VJDFAttributeMap getReducedMap(VString reduceKeys)
reduceKeys
- protected void initPlateXM(JDFResourceLink.EnumUsage usage)
usage
- protected JDFMedia initPlateMedia()
public int getNCols()
protected JDFRunList initDocumentRunList()
protected JDFComponent initOutputComponent()
protected void fillCatMaps()
public VString getTypes()
public String getCategory()
public void setCategory(String _category)
_category
- Copyright © 2018. All rights reserved.