summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opendc-core/src/main/kotlin/nl/atlarge/opendc/experiment/Job.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/opendc-core/src/main/kotlin/nl/atlarge/opendc/experiment/Job.kt b/opendc-core/src/main/kotlin/nl/atlarge/opendc/experiment/Job.kt
index e265a031..8c41735d 100644
--- a/opendc-core/src/main/kotlin/nl/atlarge/opendc/experiment/Job.kt
+++ b/opendc-core/src/main/kotlin/nl/atlarge/opendc/experiment/Job.kt
@@ -27,8 +27,10 @@ package nl.atlarge.opendc.experiment
/**
* A job that is submitted to a cloud network, which consists of one or multiple [Task]s.
*
+ * @param id The unique identifier of this job.
+ * @param name The name of this job.
* @param owner The user to which the job belongs.
* @param tasks The tasks of which the job consists.
* @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
*/
-data class Job(val owner: User, val tasks: Collection<Task>)
+data class Job(val id: Int, val name: String, val owner: User, val tasks: Collection<Task>)