Exemple #1
0
        ///
        ///     <summary> *  </summary>
        ///
        protected internal virtual void initJDF()
        {
            string icsTag = "Base_L" + baseICSLevel + "-" + theVersion.getName();

            theNode.appendAttribute(AttributeName.ICSVERSIONS, icsTag, null, " ", true);
            theNode.setVersion(theVersion);
            theNode.setMaxVersion(theVersion);
            theNode.setStatus(EnumNodeStatus.Waiting);
            if (!theNode.hasAttribute(AttributeName.DESCRIPTIVENAME))
            {
                theNode.setDescriptiveName("Base Golden Ticket Example Job - version: " + JDFAudit.software());
            }

            if (theParentNode == null && !theNode.hasAttribute(AttributeName.COMMENTURL))
            {
                theNode.setCommentURL(UrlUtil.StringToURL("http://www.example.com").ToString());
            }
        }