Module org.eclipse.jgit
Package org.eclipse.jgit.api
Interface RebaseCommand.InteractiveHandler2.ModifyResult
-
- Enclosing interface:
- RebaseCommand.InteractiveHandler2
public static interface RebaseCommand.InteractiveHandler2.ModifyResultDescribes the result of editing a commit message: the new message, and how it should be cleaned.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitConfig.CleanupModegetCleanupMode()Tells how the message returned bygetMessage()should be cleaned.StringgetMessage()Retrieves the new commit message.booleanshouldAddChangeId()Tells whether a Gerrit Change-Id should be computed and added to the commit message, as withCommitCommand.setInsertChangeId(boolean).
-
-
-
Method Detail
-
getCleanupMode
@NonNull CommitConfig.CleanupMode getCleanupMode()
Tells how the message returned bygetMessage()should be cleaned.- Returns:
- the
CommitConfig.CleanupMode
-
shouldAddChangeId
boolean shouldAddChangeId()
Tells whether a Gerrit Change-Id should be computed and added to the commit message, as withCommitCommand.setInsertChangeId(boolean).- Returns:
trueif a Change-Id should be handled,falseotherwise
-
-