Module: ProcessState

Defined in:
lib/status_models_types.rb

Constant Summary collapse

CREATED =
0
VALIDATED =
1
STARTED =
2
PRE_PROCESSING =
3
CONFIGURING_WORKSPACE =
4
INPUT_DATA_STAGING =
5
EXECUTING =
6
MONITORING =
7
OUTPUT_DATA_STAGING =
8
POST_PROCESSING =
9
COMPLETED =
10
FAILED =
11
CANCELLING =
12
CANCELED =
13
VALUE_MAP =
{0 => "CREATED", 1 => "VALIDATED", 2 => "STARTED", 3 => "PRE_PROCESSING", 4 => "CONFIGURING_WORKSPACE", 5 => "INPUT_DATA_STAGING", 6 => "EXECUTING", 7 => "MONITORING", 8 => "OUTPUT_DATA_STAGING", 9 => "POST_PROCESSING", 10 => "COMPLETED", 11 => "FAILED", 12 => "CANCELLING", 13 => "CANCELED"}
VALID_VALUES =
Set.new([CREATED, VALIDATED, STARTED, PRE_PROCESSING, CONFIGURING_WORKSPACE, INPUT_DATA_STAGING, EXECUTING, MONITORING, OUTPUT_DATA_STAGING, POST_PROCESSING, COMPLETED, FAILED, CANCELLING, CANCELED]).freeze