diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2017-08-08 21:29:02 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2017-08-08 21:29:02 +0200 |
| commit | 83cf936bd18e63b98f742e8c3a1df567085aea8e (patch) | |
| tree | cf3bcb18ef35bfaa19ddc4e740a9247648c60899 /opendc-core/src/main | |
| parent | dd0777c659871fafc4633b9d37c75524af1964b2 (diff) | |
Add job identifier and name
Diffstat (limited to 'opendc-core/src/main')
| -rw-r--r-- | opendc-core/src/main/kotlin/nl/atlarge/opendc/experiment/Job.kt | 4 |
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>) |
