Package au.csiro.pathling
Class PathlingVersion
java.lang.Object
au.csiro.pathling.PathlingVersion
Retrieves version information from the properties file created during the build, making it
available to other areas of the application.
- Author:
- John Grimes
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for creating a new PathlingVersion instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the POM version of the application.Returns a descriptive version including the POM version and Git commit SHA.Returns the major version component of the POM version.
-
Constructor Details
-
PathlingVersion
public PathlingVersion()Default constructor for creating a new PathlingVersion instance.
-
-
Method Details
-
getBuildVersion
Returns the POM version of the application.- Returns:
- the POM version of the application
-
getDescriptiveVersion
Returns a descriptive version including the POM version and Git commit SHA.- Returns:
- a descriptive version that includes the POM version and the Git commit SHA at the time of the build
-
getMajorVersion
Returns the major version component of the POM version.- Returns:
- the major version component of the POM version
- See Also:
-