Module: WorkflowState

Defined in:
lib/airavata_workflow_model_types.rb

Constant Summary collapse

CREATED =
0
VALIDATED =
1
SCHEDULED =
2
LAUNCHED =
3
EXECUTING =
4
PAUSING =
5
PAUSED =
6
RESTARTING =
7
CANCELING =
8
CANCELED =
9
COMPLETED =
10
FAILED =
11
VALUE_MAP =
{0 => "CREATED", 1 => "VALIDATED", 2 => "SCHEDULED", 3 => "LAUNCHED", 4 => "EXECUTING", 5 => "PAUSING", 6 => "PAUSED", 7 => "RESTARTING", 8 => "CANCELING", 9 => "CANCELED", 10 => "COMPLETED", 11 => "FAILED"}
VALID_VALUES =
Set.new([CREATED, VALIDATED, SCHEDULED, LAUNCHED, EXECUTING, PAUSING, PAUSED, RESTARTING, CANCELING, CANCELED, COMPLETED, FAILED]).freeze