Package com.uc4.api.objects
Class ForecastTaskState
- java.lang.Object
-
- com.uc4.api.objects.ForecastTaskState
-
public class ForecastTaskState extends java.lang.ObjectList of valid status values for a forecast.
-
-
Field Summary
Fields Modifier and Type Field Description static ForecastTaskStateEmptyNo forecast state.static ForecastTaskStateENDED_CANCELTask canceled.static ForecastTaskStateENDED_EMPTY_JOBTask ended empty.static ForecastTaskStateENDED_EMPTY_NOTHING_FOUND-Nothing found.static ForecastTaskStateENDED_ESCALATEDAborted by escalation.static ForecastTaskStateENDED_INACTIVE_CALENDARTask ended inactive because of calendar not active today.static ForecastTaskStateENDED_INACTIVE_MANUALLYTask was set inactive.static ForecastTaskStateENDED_INACTIVE_UNDEFINEDTask ended undefined.static ForecastTaskStateENDED_JP_ABENDNot executed because of JobPlan abend.static ForecastTaskStateENDED_JP_CANCELJobPlan canceled.static ForecastTaskStateENDED_LOSTEnded undefined (host terminated prematurely).static ForecastTaskStateENDED_NOT_OKTask aborted (Return Code not 0).static ForecastTaskStateENDED_NOT_OK_SYNCTask ended not because of Sync condition.static ForecastTaskStateENDED_OKTask ended normally.static ForecastTaskStateENDED_QUEUE_CANCELQueue canceled.static ForecastTaskStateENDED_QUEUE_ENDQueue end.static ForecastTaskStateENDED_SKIPPED_SYNCTask skipped due to the Sync condition.static ForecastTaskStateENDED_SKIPPED_WHENSkipped because of dependency clause.static ForecastTaskStateENDED_TIMEOUT_EXCEED_STARTStart time exceeded.static ForecastTaskStateENDED_TIMEOUT_UNTIMELYEnded timeout.static ForecastTaskStateENDED_TIMEOUT_WHENTask was not executed because time had expired (dependency condition).static ForecastTaskStateENDED_TRUNCATETransfer incomplete due to line limit.static ForecastTaskStateENDED_VANISHEDTask vanished.static ForecastTaskStateFAULT_ALREADY_RUNNINGGroup running.static ForecastTaskStateFAULT_NO_HOSTJob could not start due to unavailable host.static ForecastTaskStateFAULT_OTHERTask could not start due to another error.static ForecastTaskStateFAULT_POST_PROCESSINGError in post processing.
-
Constructor Summary
Constructors Constructor Description ForecastTaskState(int number)Constructs a newForecastTaskStatefrom the specified number.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetNumber()Gets the return code of this status.inthashCode()static ForecastTaskStatenewForecastState(int number)Deprecated.Use the constructor insteadjava.lang.StringtoString()
-
-
-
Field Detail
-
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.
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newForecastState
@Deprecated public static ForecastTaskState newForecastState(int number)
Deprecated.Use the constructor insteadConstructs a newForecastTaskStatefrom the specified return code.- Parameters:
number- Return Code- Returns:
- ForecastTaskState or null if the a foreast status with this return code is not found
-
-