Verwendungen von Klasse
com.github.koraktor.mavanagaiata.git.GitRepositoryException
Package
Beschreibung
Generic Git abstraction classes
JGit specific implementation details
Maven mojo implementations and related code
-
Verwendungen von GitRepositoryException in com.github.koraktor.mavanagaiata.git
Modifizierer und TypMethodeBeschreibungvoid
GitRepository.check()
Checks whether the Git repository is accessible.GitRepository.describe()
Describes the current Git commit likegit describe
doesvoid
Executes this action for the given commitAbstractGitRepository.getAbbreviatedCommitId()
GitRepository.getAbbreviatedCommitId()
Returns the abbreviated commit SHA ID of the current Git commitGitRepository.getAbbreviatedCommitId
(GitCommit commit) Returns the abbreviated commit SHA ID of the given Git commitGitRepository.getBranch()
Returns the currently checked out branch of the Git repositoryGitRepository.getHeadCommit()
Returns the currentHEAD
commit of the Git repositoryAbstractGitRepository.getMailMap()
GitRepository.getMailMap()
Returns aMailMap
object that holds information from Git's.mailmap
fileGitRepository.getTags()
Returns a map of tags available in this repositoryboolean
GitRepository.isDirty
(boolean ignoreUntracked) Returns whether the worktree of the repository is in a clean stateboolean
GitRepository.isOnUnbornBranch()
Returns whether this repository is currently on an “unborn” branch An “unborn” branch is a branch without any actual commits.void
Load tag meta data(Package privat) void
MailMap.parseMailMap()
Tries to parse the.mailmap
file from the worktree of the given repository.protected abstract void
CommitWalkAction.run()
The code of the action that should be executed for each commit during a commit walkvoid
GitRepository.walkCommits
(CommitWalkAction action) Runs the given action for all commits reachable from the currentHEAD
commit -
Verwendungen von GitRepositoryException in com.github.koraktor.mavanagaiata.git.jgit
Modifizierer und TypMethodeBeschreibung(Package privat) final void
JGitRepository.buildRepository
(File workTree, File gitDir) void
JGitRepository.check()
(Package privat) IndexDiff
JGitRepository.createIndexDiff()
Creates a new JGitIndexDiff
instance for this repository and worktreeJGitRepository.describe()
JGitRepository.getAbbreviatedCommitId
(GitCommit commit) JGitRepository.getBranch()
JGitRepository.getHeadCommit()
(Package privat) ObjectId
JGitRepository.getHeadObject()
Returns the object for the Git ref currently set asHEAD
(Package privat) RevCommit
JGitRepository.getHeadRevCommit()
Returns a commit object forHEAD
JGitRepository.getTags()
boolean
JGitRepository.isDirty
(boolean ignoreUntracked) boolean
JGitRepository.isOnUnbornBranch()
void
private void
JGitRepository.resolveGitDir
(File workTree, FileRepositoryBuilder repositoryBuilder) void
JGitRepository.walkCommits
(CommitWalkAction action) ModifiziererKonstruktorBeschreibungJGitRepository
(File workTree, File gitDir, String headRef) Creates a new instance for the given worktree and or Git directory -
Verwendungen von GitRepositoryException in com.github.koraktor.mavanagaiata.mojo
Modifizierer und TypMethodeBeschreibungprivate void
CheckMojo.checkBranch
(GitRepository repository) Checks if the branch matches the configured nameprivate void
CheckMojo.checkClean
(GitRepository repository) Checks if the worktree is in a clean stateprivate void
CheckMojo.checkCommitMessage
(GitRepository repository) Checks if commit message matches the configured patternprivate void
CheckMojo.checkTag
(GitRepository repository) Checks if the the currentHEAD
is tagged(Package privat) org.codehaus.plexus.interpolation.MapBasedValueSource
InfoClassMojo.getValueSource
(GitRepository repository) (Package privat) GitRepository
AbstractGitMojo.initRepository()
Initializes a JGit Repository object for further referenceprotected void
ChangelogMojo.ChangelogWalkAction.run()
private void
InfoClassMojo.writeSourceFile
(GitRepository repository, File sourceFile) ModifiziererKonstruktorBeschreibung(Package privat)
ChangelogWalkAction
(GitRepository repository) (Package privat)
ValueSourceFilter
(GitRepository repository)