Method: Burstflow::Workflow#complete!

Defined in:
lib/burstflow/workflow.rb

#complete!Object



131
132
133
134
135
136
137
138
139
# File 'lib/burstflow/workflow.rb', line 131

def complete!
  if has_errors?
    failed!
  elsif has_suspended_jobs?
    suspended!
  else
    finished!
  end
end