Class ChangelogMojo.ChangelogWalkAction
- java.lang.Object
-
- com.github.koraktor.mavanagaiata.git.CommitWalkAction
-
- com.github.koraktor.mavanagaiata.mojo.ChangelogMojo.ChangelogWalkAction
-
- Enclosing class:
- ChangelogMojo
class ChangelogMojo.ChangelogWalkAction extends CommitWalkAction
-
-
Field Summary
Fields Modifier and Type Field Description private StringcurrentRefprivate booleanfirstCommitprivate Map<String,GitTag>tags-
Fields inherited from class com.github.koraktor.mavanagaiata.git.CommitWalkAction
currentCommit, repository
-
-
Constructor Summary
Constructors Constructor Description ChangelogWalkAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepare()Prepare the walk actionprotected voidrun()The code of the action that should be executed for each commit during a commit walk-
Methods inherited from class com.github.koraktor.mavanagaiata.git.CommitWalkAction
execute, setRepository
-
-
-
-
Method Detail
-
prepare
public void prepare() throws GitRepositoryExceptionDescription copied from class:CommitWalkActionPrepare the walk actionThis can be used to load required data for the walk action, e.g. all tags.
- Overrides:
preparein classCommitWalkAction- Throws:
GitRepositoryException- if an error occurs during the preparation
-
run
protected void run() throws GitRepositoryExceptionDescription copied from class:CommitWalkActionThe code of the action that should be executed for each commit during a commit walk- Specified by:
runin classCommitWalkAction- Throws:
GitRepositoryException- if an error occurs during the action
-
-