All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.model.support.JobConfigProperties.kt Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.support

import javax.validation.constraints.Max
import javax.validation.constraints.Min

class JobConfigProperties {
    /**
     * Core pool size for the threads used to run the jobs.
     */
    @Min(1)
    var poolSize = 10
    /**
     * Orchestration interval
     */
    @Min(1)
    var orchestration = 2
    /**
     * Pausing the jobs at startup?
     */
    var pausedAtStartup = false
    /**
     * Using scattering of jobs
     */
    var scattering = true
    /**
     * Scattering ratio (must be between 0.0 and 1.0 inclusive).
     */
    @Min(1)
    @Max(1)
    var scatteringRatio = 1.0
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy