X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/28e0fb829175415c533ea783d90ade8a39bdb236..c86cbaa6f286e50900dae3203a42044449e042f7:/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 727180ecfa..e10f8b7f5f 100644 --- a/apps/workbench/app/models/work_unit.rb +++ b/apps/workbench/app/models/work_unit.rb @@ -5,14 +5,14 @@ class WorkUnit # returns the label that was assigned when creating the work unit end - def proxied - # returns the proxied object of this work unit - end - def uuid # returns the arvados UUID of the underlying object end + def parent + # returns the parent uuid of this work unit + end + def children # returns an array of child work units end @@ -119,6 +119,10 @@ class WorkUnit # returns true if this work unit can be canceled end + def confirm_cancellation + # returns true if this work unit wants to use a confirmation for cancellation + end + def uri # returns the uri for this work unit end