| | |
| | | package de.micromata.borgbutler.server.rest |
| | | |
| | | import de.micromata.borgbutler.BorgQueueStatistics |
| | | import de.micromata.borgbutler.server.BorgVersion |
| | | import de.micromata.borgbutler.server.BorgConfig |
| | | |
| | | /** |
| | | * Statistics of all the job queues, especially the number of total queued and running jobs. |
| | |
| | | private set |
| | | var configurationOK = false |
| | | private set |
| | | var borgVersion: BorgVersion? = null |
| | | var borgConfig: BorgConfig? = null |
| | | private set |
| | | |
| | | fun setQueueStatistics(queueStatistics: BorgQueueStatistics?): SystemInfo { |
| | |
| | | return this |
| | | } |
| | | |
| | | fun setBorgVersion(borgVersion: BorgVersion?): SystemInfo { |
| | | this.borgVersion = borgVersion |
| | | fun setBorgConfig(borgConfig: BorgConfig?): SystemInfo { |
| | | this.borgConfig = borgConfig |
| | | return this |
| | | } |
| | | } |