public class NativeGitProvider extends GitDataProvider
| Modifier and Type | Class and Description |
|---|---|
protected static class |
NativeGitProvider.JavaProcessRunner |
static class |
NativeGitProvider.NativeCommandException |
static interface |
NativeGitProvider.ProcessRunner |
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 NativeGitProvider |
on(File dotGitDirectory,
LoggerBridge loggerBridge) |
protected void |
prepareGitToExtractMoreDetailedReproInformation() |
NativeGitProvider |
setVerbose(boolean verbose) |
determineBranchName, determineBranchNameOnBuildServer, getSimpleDateFormatWithTimeZone, loadGitData, put, setAbbrevLength, setDateFormat, setDateFormatTimeZone, setGitDescribe, setPrefixDot@NotNull public static NativeGitProvider on(@NotNull File dotGitDirectory, @NotNull LoggerBridge loggerBridge)
@NotNull public NativeGitProvider 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()
getGitDescribe in class GitDataProviderprotected String getCommitId()
getCommitId in class GitDataProviderprotected String getAbbrevCommitId()
getAbbrevCommitId in class GitDataProviderprotected 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 getTags()
getTags in class GitDataProviderprotected String getRemoteOriginUrl() throws org.apache.maven.plugin.MojoExecutionException
getRemoteOriginUrl in class GitDataProviderorg.apache.maven.plugin.MojoExecutionExceptionprotected String getClosestTagName()
getClosestTagName in class GitDataProviderprotected String getClosestTagCommitCount()
getClosestTagCommitCount in class GitDataProviderprotected void finalCleanUp()
finalCleanUp in class GitDataProviderCopyright © 2015. All Rights Reserved.