From 0c0cf25616771cd40a9e401edcba4a5e5016f76e Mon Sep 17 00:00:00 2001 From: Dante Niewenhuis Date: Wed, 16 Jul 2025 16:56:28 +0200 Subject: Added Workflows (#359) * Implemented Workflows for OpenDC --- .../src/main/kotlin/org/opendc/compute/api/Flavor.kt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'opendc-compute/opendc-compute-api/src/main/kotlin/org') diff --git a/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt b/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt index a54a0130..a15191c6 100644 --- a/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt +++ b/opendc-compute/opendc-compute-api/src/main/kotlin/org/opendc/compute/api/Flavor.kt @@ -41,4 +41,19 @@ public interface Flavor : Resource { * The amount of gpu cores available to the task. */ public val gpuCoreCount: Int + + /** + * Set of Tasks that need to be finished before this can startAdd commentMore actions + */ + public val dependencies: Set + + /** + * Set of Tasks that need to be finished before this can startAdd commentMore actions + */ + public val parents: Set + + /** + * Set of Tasks that need to be finished before this can startAdd commentMore actions + */ + public val children: Set } -- cgit v1.2.3