Package com.atlassian.bitbucket.scm.pull
Class PullRequestDiffCommandParameters
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.AbstractDiffCommandParameters
com.atlassian.bitbucket.scm.pull.PullRequestDiffCommandParameters
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bitbucket.scm.AbstractDiffCommandParameters
AbstractDiffCommandParameters.AbstractBuilder<B extends AbstractDiffCommandParameters.AbstractBuilder<B>>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.scm.AbstractDiffCommandParameters
DEFAULT_CONTEXT_LINES
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Method Summary
Modifier and TypeMethodDescriptiontoContext
(PullRequestEffectiveDiff effectiveDiff) Assembles aDiffContext
from these parameters using the hashes from thecurrent effective diff
.Methods inherited from class com.atlassian.bitbucket.scm.AbstractDiffCommandParameters
getContextLines, getMaxLineLength, getMaxLines, getPaths, getSecondaryRepository, getWhitespace, hasContextLines, hasPaths, toContext
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Method Details
-
toContext
Assembles aDiffContext
from these parameters using the hashes from thecurrent effective diff
.- Parameters:
effectiveDiff
- the currenteffective diff
for the pull request- Returns:
- a
DiffContext
describing these parameters
-