Module: JobState
- Defined in:
- lib/status_models_types.rb
Constant Summary collapse
- SUBMITTED =
0
- QUEUED =
1
- ACTIVE =
2
- COMPLETE =
3
- CANCELED =
4
- FAILED =
5
- SUSPENDED =
6
- UNKNOWN =
7
- NON_CRITICAL_FAIL =
8
- VALUE_MAP =
{0 => "SUBMITTED", 1 => "QUEUED", 2 => "ACTIVE", 3 => "COMPLETE", 4 => "CANCELED", 5 => "FAILED", 6 => "SUSPENDED", 7 => "UNKNOWN", 8 => "NON_CRITICAL_FAIL"}
- VALID_VALUES =
Set.new([SUBMITTED, QUEUED, ACTIVE, COMPLETE, CANCELED, FAILED, SUSPENDED, UNKNOWN, NON_CRITICAL_FAIL]).freeze