@Component
@ConfigurationProperties(prefix="ontrack.version")
public class VersionInfoConfig
extends java.lang.Object
| Constructor and Description |
|---|
VersionInfoConfig() |
| Modifier and Type | Method and Description |
|---|---|
static java.time.LocalDateTime |
parseDate(java.lang.String value)
Parses the date defined in the application configuration properties as
ontrack.version.date. |
VersionInfo |
toInfo()
Gets the representation of the version
|
public VersionInfo toInfo()
public static java.time.LocalDateTime parseDate(java.lang.String value)
ontrack.version.date.