Class ModifyTaskState


  • public class ModifyTaskState
    extends XMLRequest
    Modifies an UC4 Object state manually.
    • Constructor Detail

      • ModifyTaskState

        public ModifyTaskState​(int runID,
                               int oldState,
                               int newState)
        Constructs a new ModifyState request for the specified RunID.
        Parameters:
        runID - RunID of the task
        oldState - Integer containing the current status
        newState - Integer containing the new status

        Values:

        StatusDescription
        1300Preparing
        1510Transferred
        1520Ready for transfer (before Connect)
        1521Ready to be transferred
        1529Ready for generation
        1530Ready for start
        1531To be called
        1540Start initiated
        1541Checking
        1542Calling
        1543Unknown
        1544Inconsistent
        1545Started
        1546Connecting
        1550Active
        1551Transferring
        1552Called
        1553Accepted
        1554Sampling files
        1556Escalated
        1560JobPlan blocked
        1561Stopped - system-wide stop of automatic processing
        1562HELD - manual stop was set
        1563Stopped - automatic processing was stopped.
        1565Finished sending task
        1569Skipping Sync
        1570Skipping
        1571Canceling
        1572Generating
        1573Generated
        1574Post processing
        1575Ending
        1599Alive user view
        1600Internal checking
        1686Waiting for start of host-group container.
        1687Waiting for end of parallel host-group tasks
        1688Waiting for the host of a host group
        1689Waiting for resource (max. filetransfers exceeded
        1690Waiting for external dependency
        1691Waiting for remote system
        1692Waiting for remote SYNC
        1693Waiting for manual release
        1694Waiting for resource (max. jobs exceeded)
        1695Waiting for restart time
        1696Waiting for host
        1697Waiting for SYNC
        1698Waiting for start time
        1700Waiting for precondition
        1701Sleeping
        1702Not yet called
        1709Waiting for end of parallel task(s)
        1710Registered
        1800ENDED_NOT_OK - aborted
        1801ENDED_NOT_OK - aborted because of SYNC condition
        1802ENDED_JP_ABEND - not executed due to abnormal JobPlan end
        1810ENDED_VANISHED - disappeared
        1815ENDED_LOST - ended undefined (host terminated prematurely)
        1820FAULT_OTHER - Start impossible. Other error
        1821FAULT_NO_HOST - Start impossible. Cannot reach host.
        1822FAULT_ALREADY_RUNNING - task is already running
        1823FAULT_POST_PROCESSING - error in post processing.
        1850ENDED_CANCEL - manually canceled
        1851ENDED_JP_CANCEL - JobPlan canceled manually
        1853ENDED_QUEUE_CANCEL
        1854ENDED_CONTAINER_CANCEL
        1856ENDED_ESCALATED - aborted due to escalation
        1900ENDED_OK - ended normally
        1902ENDED_QUEUE_END
        1903ENDED_CONTAINER_END
        1910ENDED_EMPTY - task is empty (STOP NOMSG).
        1911ENDED_TRUNCATE - Transfer incomplete due to line limit.
        1912ENDED_EMPTY - nothing found.
        1919ENDED_INACTIVE - inactive because logical date condition of external dependency.
        1920ENDED_INACTIVE - inactive today because of Calendar.
        1921ENDED_INACTIVE - task not active due to definition
        1922ENDED_INACTIVE - Task was manually set inactive.
        1930ENDED_SKIPPED - Skipped because of WHEN clause
        1931ENDED_SKIPPED - Skipped because of SYNC condition.
        1940ENDED_TIMEOUT - Not executed because of timeout (WHEN clause).
        1941ENDED_TIMEOUT - Start time exceeded.
        1942ENDED_TIMEOUT - ended untimely.
        1943ENDING
    • Method Detail

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