Class RunJobPlanTask


  • public class RunJobPlanTask
    extends XMLRequest
    Executes a task in a JobPlan immediately.
    • Constructor Detail

      • RunJobPlanTask

        public RunJobPlanTask​(int runID)
        Constructs a ExecuteTaskImmediately using the specified RunID.
        Parameters:
        runID - RunID
      • RunJobPlanTask

        public RunJobPlanTask​(int parentRunID,
                              int lnr)
        Constructs a ExecuteTaskImmediately using the specified parent RunID and Lnr.
        Parameters:
        parentRunID - RunID of the parent (workflow)
        lnr - Run number of the task in the Workflow
    • Method Detail

      • withForceSet

        public RunJobPlanTask withForceSet()
        Sets the force flag to '1' in order to allow activation of tasks that might still be waiting for parents.
        Returns:
        This instance
      • getSrc

        protected java.lang.String getSrc()
        Description copied from class: XMLRequest
        Returns the request source. This method is used internally.
        Specified by:
        getSrc in class XMLRequest
        Returns:
        Source
      • createRequest

        protected void createRequest​(com.uc4.util.XMLDocument doc,
                                     org.w3c.dom.Element request,
                                     ConnectionAttributes sessionInfo)
        Description copied from class: XMLRequest
        Creates the XML Document for the request. This method is used internally.
        Specified by:
        createRequest in class XMLRequest
        Parameters:
        doc - Document, used to create new Elements
        request - Request Element - classes append information to this request element
        sessionInfo - Information about the session