Package com.uc4.api.objects
Class ForecastTaskState
- java.lang.Object
-
- com.uc4.api.objects.ForecastTaskState
-
public class ForecastTaskState extends java.lang.Object
List of valid status values for a forecast.
-
-
Field Summary
Fields Modifier and Type Field Description static ForecastTaskState
Empty
No forecast state.static ForecastTaskState
ENDED_CANCEL
Task canceled.static ForecastTaskState
ENDED_EMPTY_JOB
Task ended empty.static ForecastTaskState
ENDED_EMPTY_NOTHING_FOUND
-Nothing found.static ForecastTaskState
ENDED_ESCALATED
Aborted by escalation.static ForecastTaskState
ENDED_INACTIVE_CALENDAR
Task ended inactive because of calendar not active today.static ForecastTaskState
ENDED_INACTIVE_MANUALLY
Task was set inactive.static ForecastTaskState
ENDED_INACTIVE_UNDEFINED
Task ended undefined.static ForecastTaskState
ENDED_JP_ABEND
Not executed because of JobPlan abend.static ForecastTaskState
ENDED_JP_CANCEL
JobPlan canceled.static ForecastTaskState
ENDED_LOST
Ended undefined (host terminated prematurely).static ForecastTaskState
ENDED_NOT_OK
Task aborted (Return Code not 0).static ForecastTaskState
ENDED_NOT_OK_SYNC
Task ended not because of Sync condition.static ForecastTaskState
ENDED_OK
Task ended normally.static ForecastTaskState
ENDED_QUEUE_CANCEL
Queue canceled.static ForecastTaskState
ENDED_QUEUE_END
Queue end.static ForecastTaskState
ENDED_SKIPPED_SYNC
Task skipped due to the Sync condition.static ForecastTaskState
ENDED_SKIPPED_WHEN
Skipped because of dependency clause.static ForecastTaskState
ENDED_TIMEOUT_EXCEED_START
Start time exceeded.static ForecastTaskState
ENDED_TIMEOUT_UNTIMELY
Ended timeout.static ForecastTaskState
ENDED_TIMEOUT_WHEN
Task was not executed because time had expired (dependency condition).static ForecastTaskState
ENDED_TRUNCATE
Transfer incomplete due to line limit.static ForecastTaskState
ENDED_VANISHED
Task vanished.static ForecastTaskState
FAULT_ALREADY_RUNNING
Group running.static ForecastTaskState
FAULT_NO_HOST
Job could not start due to unavailable host.static ForecastTaskState
FAULT_OTHER
Task could not start due to another error.static ForecastTaskState
FAULT_POST_PROCESSING
Error in post processing.
-
Constructor Summary
Constructors Constructor Description ForecastTaskState(int number)
Constructs a newForecastTaskState
from the specified number.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getNumber()
Gets the return code of this status.int
hashCode()
static ForecastTaskState
newForecastState(int number)
Deprecated.Use the constructor insteadjava.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
newForecastState
@Deprecated public static ForecastTaskState newForecastState(int number)
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
-
-