public class JGitProvider extends GitDataProvider
abbrevLength, dateFormat, dateFormatTimeZone, gitDescribe, loggerBridge, prefixDot, verbose| Modifier and Type | Method and Description |
|---|---|
protected void |
finalCleanUp() |
protected String |
getAbbrevCommitId() |
protected String |
getBranchName() |
protected String |
getBuildAuthorEmail() |
protected String |
getBuildAuthorName() |
protected String |
getClosestTagCommitCount() |
protected String |
getClosestTagName() |
protected String |
getCommitAuthorEmail() |
protected String |
getCommitAuthorName() |
protected String |
getCommitId() |
protected String |
getCommitMessageFull() |
protected String |
getCommitMessageShort() |
protected String |
getCommitTime() |
protected String |
getGitDescribe() |
protected String |
getRemoteOriginUrl() |
protected String |
getTags() |
protected void |
init() |
protected boolean |
isDirty() |
static JGitProvider |
on(File dotGitDirectory,
LoggerBridge loggerBridge) |
protected void |
prepareGitToExtractMoreDetailedReproInformation() |
void |
setRepository(org.eclipse.jgit.lib.Repository git) |
JGitProvider |
setVerbose(boolean verbose) |
determineBranchName, determineBranchNameOnBuildServer, getSimpleDateFormatWithTimeZone, loadGitData, put, setAbbrevLength, setDateFormat, setDateFormatTimeZone, setGitDescribe, setPrefixDot@NotNull public static JGitProvider on(@NotNull File dotGitDirectory, @NotNull LoggerBridge loggerBridge)
@NotNull public JGitProvider setVerbose(boolean verbose)
protected void init()
throws org.apache.maven.plugin.MojoExecutionException
init in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getBuildAuthorName()
getBuildAuthorName in class GitDataProviderprotected String getBuildAuthorEmail()
getBuildAuthorEmail in class GitDataProviderprotected void prepareGitToExtractMoreDetailedReproInformation()
throws org.apache.maven.plugin.MojoExecutionException
prepareGitToExtractMoreDetailedReproInformation in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getBranchName() throws IOException
getBranchName in class GitDataProviderIOExceptionprotected String getGitDescribe() throws org.apache.maven.plugin.MojoExecutionException
getGitDescribe in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getCommitId()
getCommitId in class GitDataProviderprotected String getAbbrevCommitId() throws org.apache.maven.plugin.MojoExecutionException
getAbbrevCommitId in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected boolean isDirty()
throws org.apache.maven.plugin.MojoExecutionException
isDirty in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getCommitAuthorName()
getCommitAuthorName in class GitDataProviderprotected String getCommitAuthorEmail()
getCommitAuthorEmail in class GitDataProviderprotected String getCommitMessageFull()
getCommitMessageFull in class GitDataProviderprotected String getCommitMessageShort()
getCommitMessageShort in class GitDataProviderprotected String getCommitTime()
getCommitTime in class GitDataProviderprotected String getRemoteOriginUrl() throws org.apache.maven.plugin.MojoExecutionException
getRemoteOriginUrl in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getTags() throws org.apache.maven.plugin.MojoExecutionException
getTags in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getClosestTagName() throws org.apache.maven.plugin.MojoExecutionException
getClosestTagName in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getClosestTagCommitCount() throws org.apache.maven.plugin.MojoExecutionException
getClosestTagCommitCount in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected void finalCleanUp()
finalCleanUp in class GitDataProviderpublic void setRepository(org.eclipse.jgit.lib.Repository git)
Copyright © 2015. All Rights Reserved.