X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/08c06bc813d96634b362e8c5736341fb2d874f59..42c20b25e1325124b88e3b9b285544dc41122b56:/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 e10f8b7f5f..493dd2f578 100644 --- a/apps/workbench/app/models/work_unit.rb +++ b/apps/workbench/app/models/work_unit.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + class WorkUnit # This is an abstract class that documents the WorkUnit interface @@ -188,6 +192,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 @@ -203,4 +211,8 @@ class WorkUnit def template_uuid # return the uuid of this work unit's template, if one exists end + + def runtime_status + # Returns this work unit's runtime_status, if any + end end