Package pl.project13.core
Interface GitProvider
-
- All Known Implementing Classes:
GitDataProvider,JGitProvider,NativeGitProvider
public interface GitProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfinalCleanUp()StringgetAbbrevCommitId()AheadBehindgetAheadBehind()StringgetBranchName()StringgetBuildAuthorEmail()StringgetBuildAuthorName()StringgetClosestTagCommitCount()StringgetClosestTagName()StringgetCommitAuthorEmail()StringgetCommitAuthorName()StringgetCommitAuthorTime()StringgetCommitCommitterTime()StringgetCommitId()StringgetCommitMessageFull()StringgetCommitMessageShort()StringgetCommitTime()StringgetGitDescribe()StringgetRemoteOriginUrl()StringgetTags()StringgetTotalCommitCount()voidinit()booleanisDirty()voidprepareGitToExtractMoreDetailedRepoInformation()
-
-
-
Method Detail
-
init
void init() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getBuildAuthorName
String getBuildAuthorName() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getBuildAuthorEmail
String getBuildAuthorEmail() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
prepareGitToExtractMoreDetailedRepoInformation
void prepareGitToExtractMoreDetailedRepoInformation() throws GitCommitIdExecutionException- Throws:
GitCommitIdExecutionException
-
getBranchName
String getBranchName() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getGitDescribe
String getGitDescribe() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitId
String getCommitId() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getAbbrevCommitId
String getAbbrevCommitId() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
isDirty
boolean isDirty() throws GitCommitIdExecutionException- Throws:
GitCommitIdExecutionException
-
getCommitAuthorName
String getCommitAuthorName() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitAuthorEmail
String getCommitAuthorEmail() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitAuthorTime
String getCommitAuthorTime() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitCommitterTime
String getCommitCommitterTime() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitMessageFull
String getCommitMessageFull() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitMessageShort
String getCommitMessageShort() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getCommitTime
String getCommitTime() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getRemoteOriginUrl
String getRemoteOriginUrl() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getTags
String getTags() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getClosestTagName
String getClosestTagName() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getClosestTagCommitCount
String getClosestTagCommitCount() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
getTotalCommitCount
String getTotalCommitCount() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
finalCleanUp
void finalCleanUp() throws GitCommitIdExecutionException- Throws:
GitCommitIdExecutionException
-
getAheadBehind
AheadBehind getAheadBehind() throws GitCommitIdExecutionException
- Throws:
GitCommitIdExecutionException
-
-