Class BuildVersion
java.lang.Object
com.raynigon.unit_api.spring_boot_core_starter.BuildVersion
The BuildVersion class allows easy access to artifact id, group id, artifact version and build time.
The version is also available as integers in the attributes MAJOR_VERSION, MINOR_VERSION and PATCH_VERSION.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The artifact id of this artifactstatic final OffsetDateTime
The date time when this artifact was createdstatic final String
The group id of this artifactstatic final int
The major part for the version of this artifact as an integerstatic final int
The minor part for the version of this artifact as an integerstatic final int
The patch part for the version of this artifact as an integerstatic final boolean
Indicates if this artifact is a snapshot versionstatic final String
The version of this artifact -
Constructor Summary
-
Method Summary
-
Field Details
-
ARTIFACT_ID
The artifact id of this artifact- See Also:
-
GROUP_ID
The group id of this artifact- See Also:
-
VERSION
The version of this artifact- See Also:
-
MAJOR_VERSION
public static final int MAJOR_VERSIONThe major part for the version of this artifact as an integer- See Also:
-
MINOR_VERSION
public static final int MINOR_VERSIONThe minor part for the version of this artifact as an integer- See Also:
-
PATCH_VERSION
public static final int PATCH_VERSIONThe patch part for the version of this artifact as an integer- See Also:
-
SNAPSHOT
public static final boolean SNAPSHOTIndicates if this artifact is a snapshot version- See Also:
-
BUILD_DATE
The date time when this artifact was created
-
-
Constructor Details
-
BuildVersion
public BuildVersion()
-