Uses of Enum Class
org.eclipse.jgit.lib.CommitConfig.CleanupMode
Packages that use CommitConfig.CleanupMode
Package
Description
High-level API commands (the porcelain of JGit).
Core API for repository, config, refs, object database.
-
Uses of CommitConfig.CleanupMode in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return CommitConfig.CleanupModeModifier and TypeMethodDescriptionRebaseCommand.InteractiveHandler2.ModifyResult.getCleanupMode()Tells how the message returned byRebaseCommand.InteractiveHandler2.ModifyResult.getMessage()should be cleaned.Methods in org.eclipse.jgit.api with parameters of type CommitConfig.CleanupModeModifier and TypeMethodDescriptionRebaseCommand.InteractiveHandler2.editCommitMessage(String message, CommitConfig.CleanupMode mode, char commentChar) Callback API for editing a commit message on REWORD or SQUASH.CommitCommand.setCleanupMode(CommitConfig.CleanupMode mode) Sets theCommitConfig.CleanupModeto apply to the commit message. -
Uses of CommitConfig.CleanupMode in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return CommitConfig.CleanupModeModifier and TypeMethodDescriptionCommitConfig.getCleanupMode()Retrieves theCommitConfig.CleanupModeas given by git configcommit.cleanup.CommitConfig.resolve(CommitConfig.CleanupMode mode, boolean defaultStrip) Computes a non-defaultCommitConfig.CleanupModefrom the given mode and the git config.static CommitConfig.CleanupModeReturns the enum constant of this class with the specified name.static CommitConfig.CleanupMode[]CommitConfig.CleanupMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.eclipse.jgit.lib with parameters of type CommitConfig.CleanupModeModifier and TypeMethodDescriptionstatic StringCommitConfig.cleanText(String text, CommitConfig.CleanupMode mode, char commentChar) Processes a text according to the givenCommitConfig.CleanupMode.CommitConfig.resolve(CommitConfig.CleanupMode mode, boolean defaultStrip) Computes a non-defaultCommitConfig.CleanupModefrom the given mode and the git config.