Class AbstractDiffCommandParameters.AbstractBuilder<B extends AbstractDiffCommandParameters.AbstractBuilder<B>>

java.lang.Object
com.atlassian.bitbucket.scm.AbstractDiffCommandParameters.AbstractBuilder<B>
Direct Known Subclasses:
CompareDiffCommandParameters.Builder, DiffCommandParameters.Builder, PullRequestDiffCommandParameters.Builder
Enclosing class:
AbstractDiffCommandParameters

public abstract static class AbstractDiffCommandParameters.AbstractBuilder<B extends AbstractDiffCommandParameters.AbstractBuilder<B>> extends Object
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • contextLines

      @Nonnull public B contextLines(int value)
    • defaultContextLines

      @Nonnull public B defaultContextLines()
    • maxLineLength

      @Nonnull public B maxLineLength(int value)
    • maxLines

      @Nonnull public B maxLines(int value)
    • path

      @Nonnull public B path(@Nullable String value)
    • paths

      @Nonnull public B paths(@Nullable Iterable<String> values)
    • paths

      @Nonnull public B paths(@Nullable String value, @Nullable String... values)
    • secondaryRepository

      @Nonnull public B secondaryRepository(@Nullable Repository value)
      Parameters:
      value - the secondary repository from which to generate the diff
      Returns:
      this
      Since:
      6.7
    • whitespace

      @Nonnull public B whitespace(@Nonnull DiffWhitespace value)
      Parameters:
      value - whitespace mode for showing diff
      Returns:
      this
    • self

      @Nonnull protected abstract B self()