Package com.atlassian.bitbucket.scm
Class PatchCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.PatchCommandParameters
Describes a commit for which to generate a
patch
.
In addition to specifying the commit for which to generate a patch, callers can provide a
since ID
revision as the base of the patch, or set all ancestors
to
true.
- Since:
- 6.7
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the base revision from which to generate the patch.boolean
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Method Details
-
getSecondaryRepository
-
getSinceId
Retrieves the base revision from which to generate the patch. If omitted the parent revision of theuntil ID
revision is used.- Returns:
- the base revision from which to generate the patch
-
getUntilId
-
isAllAncestors
public boolean isAllAncestors()
-