Interface GitFormatPatchBuilder
- All Superinterfaces:
com.atlassian.bitbucket.scm.CommandBuilderSupport<GitFormatPatchBuilder>,GitCommandBuilderSupport<GitFormatPatchBuilder>
A builder which can be used to construct a
command
for running git format-patch.- Since:
- 6.7
-
Field Summary
Fields inherited from interface com.atlassian.bitbucket.scm.git.command.GitCommandBuilderSupport
ENV_AUTHOR_DATE, ENV_AUTHOR_EMAIL, ENV_AUTHOR_NAME, ENV_COMMITTER_DATE, ENV_COMMITTER_EMAIL, ENV_COMMITTER_NAME -
Method Summary
Modifier and TypeMethodDescriptionallAncestors(boolean value) Specifies the ancestor for the patch.Specifies the rev for the patch.Methods inherited from interface com.atlassian.bitbucket.scm.CommandBuilderSupport
clearEnvironment, defaultExitHandler, exitHandler, removeEnvironment, withEnvironmentMethods inherited from interface com.atlassian.bitbucket.scm.git.command.GitCommandBuilderSupport
alternate, alternates, alternates, author, author, author, build, commitish, committer, committer, committer, treeish, withConfiguration, withConfiguration, withConfiguration, withConfiguration
-
Method Details
-
allAncestors
- Parameters:
value- indicates whether or not to generate a patch which includes all ancestors ofrev. If true then the value provided byancestoris ignored.- Returns:
this
-
ancestor
Specifies the ancestor for the patch. This is only applicable whenallAncestorsis false. If this method isn't called, the patch will represent one single commit, therev.- Parameters:
value- the ancestor- Returns:
this
-
rev
Specifies the rev for the patch.- Parameters:
value- the rev- Returns:
this
-