Package edu.sc.seis.TauP
Class BuildVersion
- java.lang.Object
-
- edu.sc.seis.TauP.BuildVersion
-
public class BuildVersion extends java.lang.ObjectSimple class for storing the version derived from the gradle build.gradle file.
-
-
Constructor Summary
Constructors Constructor Description BuildVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetDate()returns the date this file was generated, usually the last date that the project was modified.static java.lang.StringgetDetailedVersion()static intgetGitCommitsSinceLastTag()returns number of commits since last git tagstatic java.lang.StringgetGitDate()returns the git date when this file was generated, usually the last git revision when the project was modified.static java.lang.StringgetGitLastTag()returns the closet parent git tagstatic java.lang.StringgetGitLastTagDate()returns date of commit of last git tagstatic java.lang.StringgetGitRevision()returns the git revision when this file was generated, usually the last git revision when the project was modified.static java.lang.StringgetGitSha()returns the git sha when this file was generated, usually the last git revision when the project was modified.static java.lang.StringgetGitShortSha()returns the short git sha when this file was generated, usually the last git revision when the project was modified.static java.lang.StringgetGroup()returns the group of the project from the gradle build.gradle file.static java.lang.StringgetName()returns the name of the project from the gradle build.gradle file.static java.lang.StringgetVersion()returns the version of the project from the gradle build.gradle file.static java.lang.StringgetVersionAsJSON()
-
-
-
Method Detail
-
getVersion
public static java.lang.String getVersion()
returns the version of the project from the gradle build.gradle file.
-
getName
public static java.lang.String getName()
returns the name of the project from the gradle build.gradle file.
-
getGroup
public static java.lang.String getGroup()
returns the group of the project from the gradle build.gradle file.
-
getDate
public static java.lang.String getDate()
returns the date this file was generated, usually the last date that the project was modified.
-
getGitRevision
public static java.lang.String getGitRevision()
returns the git revision when this file was generated, usually the last git revision when the project was modified.
-
getGitShortSha
public static java.lang.String getGitShortSha()
returns the short git sha when this file was generated, usually the last git revision when the project was modified.
-
getGitSha
public static java.lang.String getGitSha()
returns the git sha when this file was generated, usually the last git revision when the project was modified.
-
getGitDate
public static java.lang.String getGitDate()
returns the git date when this file was generated, usually the last git revision when the project was modified.
-
getGitLastTag
public static java.lang.String getGitLastTag()
returns the closet parent git tag
-
getGitLastTagDate
public static java.lang.String getGitLastTagDate()
returns date of commit of last git tag
-
getGitCommitsSinceLastTag
public static int getGitCommitsSinceLastTag()
returns number of commits since last git tag
-
getDetailedVersion
public static java.lang.String getDetailedVersion()
-
getVersionAsJSON
public static java.lang.String getVersionAsJSON()
-
-