Exemplo n.º 1
0
        ///
        ///     <summary> * overwrite this method in case you want to customize the hotfolder for submitqueentry and paramtetrizing
        ///     * the QueueSubmissionParams template is insufficient
        ///     *  </summary>
        ///     * <param name="stringURL"> the file url of the hotfolder jdf in the local storage directory (NOT the hf) </param>
        ///     * <param name="newCommand"> the command that was generated from the template </param>
        ///     * <param name="jdfRoot"> the root jdfnode of the dropped file </param>
        ///
        protected internal virtual void extractSubmitParams(string stringURL, JDFCommand newCommand, JDFNode jdfRoot)
        {
            JDFQueueSubmissionParams sqp = newCommand.getCreateQueueSubmissionParams(0);

            sqp.setURL(stringURL);
            JDFAuditPool ap = jdfRoot == null ? null : jdfRoot.getCreateAuditPool();

            if (ap != null)
            {
                ap.createSubmitProcessRun(null);
            }
        }