X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c60bff923fdd7616eeb1bd8f5998331cbd262970..4da754586b4529a4480951218a69ec6f41fee98d:/apps/workbench/app/models/work_unit.rb diff --git a/apps/workbench/app/models/work_unit.rb b/apps/workbench/app/models/work_unit.rb index 0d194b88a5..924e067815 100644 --- a/apps/workbench/app/models/work_unit.rb +++ b/apps/workbench/app/models/work_unit.rb @@ -41,6 +41,10 @@ class WorkUnit # returns a string representing state of the work unit end + def exit_code + # returns the work unit's execution exit code + end + def state_bootstrap_class # returns a class like "danger", "success", or "warning" that a view can use directly to make a display class end @@ -195,4 +199,8 @@ class WorkUnit def render_log # return partial and locals to be rendered end + + def template_uuid + # return the uuid of this work unit's template, if one exists + end end