yakworks.rally.config.JobProps.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rally-domain Show documentation
Show all versions of rally-domain Show documentation
gorm domain models for core app and testing
/*
* Copyright 2022 Yak.Works - Licensed under the Apache License, Version 2.0 (the "License")
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
package yakworks.rally.config
import java.time.Clock
import java.time.LocalDate
import groovy.transform.CompileStatic
import org.springframework.boot.context.properties.ConfigurationProperties
/**
* Config prioperties for the syncJobs.
* Can setup defaults and whats availiable.
*/
@ConfigurationProperties(prefix="app.job")
@CompileStatic
class JobProps {
//future defaults
boolean async
var foo = LocalDate.now ( Clock.systemDefaultZone ( ))
}