Package edu.sc.seis.TauP
Class BuildVersion
- java.lang.Object
-
- edu.sc.seis.TauP.BuildVersion
-
public class BuildVersion extends java.lang.Object
Simple 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.String
getDate()
returns the date this file was generated, usually the last date that the project was modified.static java.lang.String
getDetailedVersion()
static java.lang.String
getGitDate()
returns the git date when this file was generated, usually the last git revision when the project was modified.static java.lang.String
getGitRevision()
returns the git revision when this file was generated, usually the last git revision when the project was modified.static java.lang.String
getGitSha()
returns the git sha when this file was generated, usually the last git revision when the project was modified.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.static java.lang.String
getGroup()
returns the group of the project from the gradle build.gradle file.static java.lang.String
getName()
returns the name of the project from the gradle build.gradle file.static java.lang.String
getVersion()
returns the version of the project from the gradle build.gradle file.static java.lang.String
getVersionAsJSON()
-
-
-
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.
-
getDetailedVersion
public static java.lang.String getDetailedVersion()
-
getVersionAsJSON
public static java.lang.String getVersionAsJSON()
-
-