Class ForecastTaskState


  • public class ForecastTaskState
    extends java.lang.Object
    List of valid status values for a forecast.
    • Field Detail

      • ENDED_NOT_OK

        public static final ForecastTaskState ENDED_NOT_OK
        Task aborted (Return Code not 0).
      • ENDED_NOT_OK_SYNC

        public static final ForecastTaskState ENDED_NOT_OK_SYNC
        Task ended not because of Sync condition.
      • ENDED_JP_ABEND

        public static final ForecastTaskState ENDED_JP_ABEND
        Not executed because of JobPlan abend.
      • ENDED_VANISHED

        public static final ForecastTaskState ENDED_VANISHED
        Task vanished.
      • ENDED_LOST

        public static final ForecastTaskState ENDED_LOST
        Ended undefined (host terminated prematurely).
      • FAULT_OTHER

        public static final ForecastTaskState FAULT_OTHER
        Task could not start due to another error.
      • FAULT_NO_HOST

        public static final ForecastTaskState FAULT_NO_HOST
        Job could not start due to unavailable host.
      • FAULT_ALREADY_RUNNING

        public static final ForecastTaskState FAULT_ALREADY_RUNNING
        Group running.
      • FAULT_POST_PROCESSING

        public static final ForecastTaskState FAULT_POST_PROCESSING
        Error in post processing.
      • ENDED_CANCEL

        public static final ForecastTaskState ENDED_CANCEL
        Task canceled. The job itself, or the whole JobPlan, may have been canceled.
      • ENDED_JP_CANCEL

        public static final ForecastTaskState ENDED_JP_CANCEL
        JobPlan canceled.
      • ENDED_QUEUE_CANCEL

        public static final ForecastTaskState ENDED_QUEUE_CANCEL
        Queue canceled.
      • ENDED_ESCALATED

        public static final ForecastTaskState ENDED_ESCALATED
        Aborted by escalation.
      • ENDED_EMPTY_JOB

        public static final ForecastTaskState ENDED_EMPTY_JOB
        Task ended empty. The activation was ended without error message (STOP NOMSG - Script statement).
      • ENDED_TRUNCATE

        public static final ForecastTaskState ENDED_TRUNCATE
        Transfer incomplete due to line limit.
      • ENDED_EMPTY_NOTHING_FOUND

        public static final ForecastTaskState ENDED_EMPTY_NOTHING_FOUND
        -Nothing found.
      • ENDED_INACTIVE_CALENDAR

        public static final ForecastTaskState ENDED_INACTIVE_CALENDAR
        Task ended inactive because of calendar not active today.
      • ENDED_INACTIVE_UNDEFINED

        public static final ForecastTaskState ENDED_INACTIVE_UNDEFINED
        Task ended undefined.
      • ENDED_INACTIVE_MANUALLY

        public static final ForecastTaskState ENDED_INACTIVE_MANUALLY
        Task was set inactive.
      • ENDED_SKIPPED_WHEN

        public static final ForecastTaskState ENDED_SKIPPED_WHEN
        Skipped because of dependency clause.
      • ENDED_SKIPPED_SYNC

        public static final ForecastTaskState ENDED_SKIPPED_SYNC
        Task skipped due to the Sync condition.
      • ENDED_TIMEOUT_WHEN

        public static final ForecastTaskState ENDED_TIMEOUT_WHEN
        Task was not executed because time had expired (dependency condition).
      • ENDED_TIMEOUT_EXCEED_START

        public static final ForecastTaskState ENDED_TIMEOUT_EXCEED_START
        Start time exceeded.
      • ENDED_TIMEOUT_UNTIMELY

        public static final ForecastTaskState ENDED_TIMEOUT_UNTIMELY
        Ended timeout.
    • Constructor Detail

      • ForecastTaskState

        public ForecastTaskState​(int number)
        Constructs a new ForecastTaskState from the specified number.
        Parameters:
        number - number
    • Method Detail

      • getNumber

        public int getNumber()
        Gets the return code of this status.
        Returns:
        Return Code
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • newForecastState

        @Deprecated
        public static ForecastTaskState newForecastState​(int number)
        Deprecated.
        Use the constructor instead
        Constructs a new ForecastTaskState from the specified return code.
        Parameters:
        number - Return Code
        Returns:
        ForecastTaskState or null if the a foreast status with this return code is not found