Package uk.ac.manchester.spinnaker.alloc
Class ServiceVersion
java.lang.Object
uk.ac.manchester.spinnaker.alloc.ServiceVersion
The version information of the service.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription
- 
Constructor Details- 
ServiceVersionpublic ServiceVersion(@Value("${version}") String version, @Value("${build-timestamp}") String buildTimestamp) Create an instance.- Parameters:
- version- The version, injected from the POM by the build process.
- buildTimestamp- The build timestamp, injected from the POM by the build process.
 
 
- 
- 
Method Details- 
getVersion- Returns:
- The logical version number. Expected to at least approximately follow semver rules.
 
- 
getFullVersion- Returns:
- The full version identifier. Conforms only to Maven conventions.
 
- 
getBuildTimestamp- Returns:
- The build timestamp. The format of this is not intended for further machine parsing.
 
 
-