10078: Update recent_collections so that the collection query it is not executed...
[arvados.git] / apps / workbench / app / models / work_unit.rb
index 0d194b88a5f8c70a09a4f6044c0a6f90ab388b07..924e067815718fc0fddf52a836c99cd2d6ffd94b 100644 (file)
@@ -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