Package eu.europeana.apikey.config
Class BuildInfo
java.lang.Object
eu.europeana.apikey.config.BuildInfo
Makes build information and the application name and description from the project's pom.xml available.
While generating a war file this data is written automatically to the build.properties file which is read here.
Note that the same information is also available in the Spring-Boot /actuator/info endpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets app description.Gets app name.Gets app version.Gets build number.
-
Constructor Details
-
BuildInfo
public BuildInfo()
-
-
Method Details
-
getAppName
Gets app name.- Returns:
- the app name
-
getAppDescription
Gets app description.- Returns:
- the app description
-
getAppVersion
Gets app version.- Returns:
- the app version
-
getBuildNumber
Gets build number.- Returns:
- the build number
-