Class DeactivateTask


  • public class DeactivateTask
    extends XMLRequest
    Deactivates a task in the UC4 Activity window.
    • Constructor Detail

      • DeactivateTask

        public DeactivateTask​(int runID)
        Constructs a DeactivateTask for the specified RunID.
        Parameters:
        runID - RunID
      • DeactivateTask

        public DeactivateTask​(int runID,
                              boolean forced)
        Constructs a DeactivateTask for the specified RunID.
        Parameters:
        runID - RunID
        forced - true if deactivation should be forced, false otherwise.
      • DeactivateTask

        public DeactivateTask​(int[] runIds,
                              boolean forced)
        Constructs a DeactivateTask using multiple RunIds.
        Parameters:
        runIds - RunIds of the selected task
        forced - true if deactivation should be forced, false otherwise.
    • Method Detail

      • 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
      • setRequestParameters

        protected void setRequestParameters​(org.w3c.dom.Element request,
                                            java.lang.String idnr)