X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/31baddea7535d8ba6ca812086264b71efdccbc29..8e1efc4c74f86a986dd0c6f15f53777d0d2bf0bb:/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 0c384bb209..37554469c3 100644 --- a/apps/workbench/app/models/work_unit.rb +++ b/apps/workbench/app/models/work_unit.rb @@ -9,6 +9,10 @@ class WorkUnit # 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 @@ -115,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 @@ -180,6 +188,10 @@ class WorkUnit # container_uuid of a container_request end + def requesting_container_uuid + # requesting_container_uuid of a container_request + end + def log_object_uuids # object uuids for live log end