public class PullRequestDiffCommandParameters extends AbstractDiffCommandParameters
Modifier and Type | Class and Description |
---|---|
static class |
PullRequestDiffCommandParameters.Builder |
AbstractDiffCommandParameters.AbstractBuilder<B extends AbstractDiffCommandParameters.AbstractBuilder<B>>
DEFAULT_CONTEXT_LINES
NOT_BLANK
Modifier and Type | Method and Description |
---|---|
DiffContext |
toContext(PullRequestEffectiveDiff effectiveDiff)
Assembles a
DiffContext from these parameters using the hashes from the current effective diff . |
getContextLines, getMaxLineLength, getMaxLines, getPaths, getSecondaryRepository, getWhitespace, hasContextLines, hasPaths, toContext
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
@Nonnull public DiffContext toContext(@Nonnull PullRequestEffectiveDiff effectiveDiff)
DiffContext
from these parameters using the hashes from the current effective diff
.effectiveDiff
- the current effective diff
for the pull requestDiffContext
describing these parametersCopyright © 2022 Atlassian. All rights reserved.