Interface RebaseCommand.InteractiveHandler

All Known Subinterfaces:
RebaseCommand.InteractiveHandler2
Enclosing class:
RebaseCommand

public static interface RebaseCommand.InteractiveHandler
Allows to configure the interactive rebase process steps and to modify commit messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Used for editing commit message on REWORD or SQUASH.
    void
    Callback API to modify the initial list of interactive rebase steps.
  • Method Details

    • prepareSteps

      void prepareSteps(List<RebaseTodoLine> steps)
      Callback API to modify the initial list of interactive rebase steps.
      Parameters:
      steps - initial configuration of interactive rebase
    • modifyCommitMessage

      String modifyCommitMessage(String message)
      Used for editing commit message on REWORD or SQUASH.
      Parameters:
      message - existing commit message
      Returns:
      new commit message