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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitConfig.CleanupMode
getCleanupMode()
Tells how the message returned bygetMessage()
should be cleaned.String
getMessage()
Retrieves the new commit message.boolean
shouldAddChangeId()
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:
true
if a Change-Id should be handled,false
otherwise
-
-