Package pl.project13.core
Class JGitProvider
java.lang.Object
pl.project13.core.GitDataProvider
pl.project13.core.JGitProvider
- All Implemented Interfaces:
GitProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class pl.project13.core.GitDataProvider
GitDataProvider.SupplierEx<T> -
Field Summary
Fields inherited from class pl.project13.core.GitDataProvider
abbrevLength, commitIdGenerationMode, dateFormat, dateFormatTimeZone, evaluateOnCommit, excludeProperties, gitDescribe, includeOnlyProperties, log, offline, prefixDot, useBranchNameFromBuildEnvironment -
Method Summary
Modifier and TypeMethodDescriptionvoidgetTag()getTags()voidinit()booleanisDirty()static JGitProvideron(File dotGitDirectory, LogInterface log) voidvoidsetRepository(org.eclipse.jgit.lib.Repository git) Methods inherited from class pl.project13.core.GitDataProvider
determineBranchName, getSimpleDateFormatWithTimeZone, loadGitData, loadShortDescribe, maybePut, memoize, setAbbrevLength, setCommitIdGenerationMode, setDateFormat, setDateFormatTimeZone, setExcludeProperties, setGitDescribe, setIncludeOnlyProperties, setOffline, setPrefixDot, setUseBranchNameFromBuildEnvironment, stripCredentialsFromOriginUrl
-
Method Details
-
on
-
init
- Throws:
GitCommitIdExecutionException
-
getBuildAuthorName
- Throws:
GitCommitIdExecutionException
-
getBuildAuthorEmail
- Throws:
GitCommitIdExecutionException
-
prepareGitToExtractMoreDetailedRepoInformation
- Throws:
GitCommitIdExecutionException
-
getBranchName
- Throws:
GitCommitIdExecutionException
-
getGitDescribe
- Throws:
GitCommitIdExecutionException
-
getCommitId
- Throws:
GitCommitIdExecutionException
-
getAbbrevCommitId
- Throws:
GitCommitIdExecutionException
-
isDirty
- Throws:
GitCommitIdExecutionException
-
getCommitAuthorName
- Throws:
GitCommitIdExecutionException
-
getCommitAuthorEmail
- Throws:
GitCommitIdExecutionException
-
getCommitMessageFull
- Throws:
GitCommitIdExecutionException
-
getCommitMessageShort
- Throws:
GitCommitIdExecutionException
-
getCommitTime
- Throws:
GitCommitIdExecutionException
-
getCommitAuthorTime
- Throws:
GitCommitIdExecutionException
-
getCommitCommitterTime
- Throws:
GitCommitIdExecutionException
-
getRemoteOriginUrl
- Throws:
GitCommitIdExecutionException
-
getTags
- Throws:
GitCommitIdExecutionException
-
getTag
- Throws:
GitCommitIdExecutionException
-
getClosestTagName
- Throws:
GitCommitIdExecutionException
-
getClosestTagCommitCount
- Throws:
GitCommitIdExecutionException
-
getTotalCommitCount
- Throws:
GitCommitIdExecutionException
-
finalCleanUp
public void finalCleanUp() -
getAheadBehind
- Throws:
GitCommitIdExecutionException
-
setRepository
public void setRepository(org.eclipse.jgit.lib.Repository git)
-