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 ClassesNested 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_LINESFields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Method Summary
Modifier and TypeMethodDescriptiontoContext(PullRequestEffectiveDiff effectiveDiff) Assembles aDiffContextfrom 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, toContextMethods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Method Details
-
toContext
Assembles aDiffContextfrom these parameters using the hashes from thecurrent effective diff.- Parameters:
effectiveDiff- the currenteffective difffor the pull request- Returns:
- a
DiffContextdescribing these parameters
-