Package com.uc4.api.objects
Class ForecastTaskState
java.lang.Object
com.uc4.api.objects.ForecastTaskState
List of valid status values for a forecast.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ForecastTaskState
No forecast state.static final ForecastTaskState
Task canceled.static final ForecastTaskState
Task ended empty.static final ForecastTaskState
-Nothing found.static final ForecastTaskState
Aborted by escalation.static final ForecastTaskState
Task ended inactive because of calendar not active today.static final ForecastTaskState
Task was set inactive.static final ForecastTaskState
Task ended undefined.static final ForecastTaskState
Not executed because of JobPlan abend.static final ForecastTaskState
JobPlan canceled.static final ForecastTaskState
Ended undefined (host terminated prematurely).static final ForecastTaskState
Task aborted (Return Code not 0).static final ForecastTaskState
Task ended not because of Sync condition.static final ForecastTaskState
Task ended normally.static final ForecastTaskState
Queue canceled.static final ForecastTaskState
Queue end.static final ForecastTaskState
Task skipped due to the Sync condition.static final ForecastTaskState
Skipped because of dependency clause.static final ForecastTaskState
Start time exceeded.static final ForecastTaskState
Ended timeout.static final ForecastTaskState
Task was not executed because time had expired (dependency condition).static final ForecastTaskState
Transfer incomplete due to line limit.static final ForecastTaskState
Task vanished.static final ForecastTaskState
Group running.static final ForecastTaskState
Job could not start due to unavailable host.static final ForecastTaskState
Task could not start due to another error.static final ForecastTaskState
Error in post processing. -
Constructor Summary
ConstructorsConstructorDescriptionForecastTaskState
(int number) Constructs a newForecastTaskState
from the specified number. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Gets the return code of this status.int
hashCode()
static ForecastTaskState
newForecastState
(int number) Deprecated.Use the constructor insteadtoString()
-
Field Details
-
Empty
No forecast state. -
ENDED_NOT_OK
Task aborted (Return Code not 0). -
ENDED_NOT_OK_SYNC
Task ended not because of Sync condition. -
ENDED_JP_ABEND
Not executed because of JobPlan abend. -
ENDED_VANISHED
Task vanished. -
ENDED_LOST
Ended undefined (host terminated prematurely). -
FAULT_OTHER
Task could not start due to another error. -
FAULT_NO_HOST
Job could not start due to unavailable host. -
FAULT_ALREADY_RUNNING
Group running. -
FAULT_POST_PROCESSING
Error in post processing. -
ENDED_CANCEL
Task canceled. The job itself, or the whole JobPlan, may have been canceled. -
ENDED_JP_CANCEL
JobPlan canceled. -
ENDED_QUEUE_CANCEL
Queue canceled. -
ENDED_ESCALATED
Aborted by escalation. -
ENDED_OK
Task ended normally. -
ENDED_QUEUE_END
Queue end. -
ENDED_EMPTY_JOB
Task ended empty. The activation was ended without error message (STOP NOMSG - Script statement). -
ENDED_TRUNCATE
Transfer incomplete due to line limit. -
ENDED_EMPTY_NOTHING_FOUND
-Nothing found. -
ENDED_INACTIVE_CALENDAR
Task ended inactive because of calendar not active today. -
ENDED_INACTIVE_UNDEFINED
Task ended undefined. -
ENDED_INACTIVE_MANUALLY
Task was set inactive. -
ENDED_SKIPPED_WHEN
Skipped because of dependency clause. -
ENDED_SKIPPED_SYNC
Task skipped due to the Sync condition. -
ENDED_TIMEOUT_WHEN
Task was not executed because time had expired (dependency condition). -
ENDED_TIMEOUT_EXCEED_START
Start time exceeded. -
ENDED_TIMEOUT_UNTIMELY
Ended timeout.
-
-
Constructor Details
-
ForecastTaskState
public ForecastTaskState(int number) Constructs a newForecastTaskState
from the specified number.- Parameters:
number
- number
-
-
Method Details
-
getNumber
public int getNumber()Gets the return code of this status.- Returns:
- Return Code
-
equals
-
hashCode
public int hashCode() -
toString
-
newForecastState
Deprecated.Use the constructor insteadConstructs a newForecastTaskState
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
-