java.lang.Object
com.raynigon.unit_api.spring_boot_core_starter.BuildVersion

public class BuildVersion extends Object
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 Details

    • ARTIFACT_ID

      public static final String ARTIFACT_ID
      The artifact id of this artifact
      See Also:
    • GROUP_ID

      public static final String GROUP_ID
      The group id of this artifact
      See Also:
    • VERSION

      public static final String VERSION
      The version of this artifact
      See Also:
    • MAJOR_VERSION

      public static final int MAJOR_VERSION
      The major part for the version of this artifact as an integer
      See Also:
    • MINOR_VERSION

      public static final int MINOR_VERSION
      The minor part for the version of this artifact as an integer
      See Also:
    • PATCH_VERSION

      public static final int PATCH_VERSION
      The patch part for the version of this artifact as an integer
      See Also:
    • SNAPSHOT

      public static final boolean SNAPSHOT
      Indicates if this artifact is a snapshot version
      See Also:
    • BUILD_DATE

      public static final OffsetDateTime BUILD_DATE
      The date time when this artifact was created
  • Constructor Details

    • BuildVersion

      public BuildVersion()