Class ForecastTaskState

java.lang.Object
com.uc4.api.objects.ForecastTaskState

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

    • Empty

      public static final ForecastTaskState Empty
      No forecast state.
    • 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_OK

      public static final ForecastTaskState ENDED_OK
      Task ended normally.
    • ENDED_QUEUE_END

      public static final ForecastTaskState ENDED_QUEUE_END
      Queue end.
    • 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 Details

    • ForecastTaskState

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

    • getNumber

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class 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