Class CommitWalkAction

    • Constructor Detail

      • CommitWalkAction

        public CommitWalkAction()
    • Method Detail

      • prepare

        public void prepare()
                     throws GitRepositoryException
        Prepare the walk action

        This can be used to load required data for the walk action, e.g. all tags.

        Throws:
        GitRepositoryException - if an error occurs during the preparation
      • run

        protected abstract void run()
                             throws GitRepositoryException
        The code of the action that should be executed for each commit during a commit walk
        Throws:
        GitRepositoryException - if an error occurs during the action
      • setRepository

        public void setRepository​(GitRepository repository)
        Sets the repository this action should be executed in
        Parameters:
        repository - The repository for this action