Package org.eclipse.jgit.api
Interface RebaseCommand.InteractiveHandler2.ModifyResult
- Enclosing interface:
- RebaseCommand.InteractiveHandler2
public static interface RebaseCommand.InteractiveHandler2.ModifyResult
Describes the result of editing a commit message: the new message,
and how it should be cleaned.
-
Method Summary
Modifier and TypeMethodDescriptionTells how the message returned bygetMessage()
should be cleaned.Retrieves the new commit message.boolean
Tells whether a Gerrit Change-Id should be computed and added to the commit message, as withCommitCommand.setInsertChangeId(boolean)
.
-
Method Details
-
getMessage
Retrieves the new commit message.- Returns:
- the message
-
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:
true
if a Change-Id should be handled,false
otherwise
-