0
1
2
3
4
{0 => "CREATED", 1 => "EXECUTING", 2 => "COMPLETED", 3 => "FAILED", 4 => "CANCELED"}
Set.new([CREATED, EXECUTING, COMPLETED, FAILED, CANCELED]).freeze