9687: Added exit_code method to work_unit interface declarations. Simplified state_la...
[arvados.git] / apps / workbench / app / models / work_unit.rb
index 0d194b88a5f8c70a09a4f6044c0a6f90ab388b07..ce55bb3c176df2ef3ef32c36bda8898da9dabb0c 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