Class AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B extends AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B>>

java.lang.Object
com.atlassian.bitbucket.scm.AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B>
Direct Known Subclasses:
CompareDiffStatsSummaryCommandParameters.Builder, DiffStatsSummaryCommandParameters.Builder, PullRequestDiffStatsSummaryCommandParameters.Builder
Enclosing class:
AbstractDiffStatsSummaryCommandParameters

public abstract static class AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B extends AbstractDiffStatsSummaryCommandParameters.AbstractBuilder<B>> extends Object
  • Field Details

    • paths

      protected final com.google.common.collect.ImmutableSet.Builder<String> paths
    • whitespace

      protected DiffWhitespace whitespace
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • path

      @Nonnull public B path(@Nullable String value)
      Parameters:
      value - limits the diff to include only the specified path
      Returns:
      this
    • paths

      @Nonnull public B paths(@Nullable Iterable<String> values)
      Parameters:
      values - limits the diff to include only the specified paths
      Returns:
      this
    • paths

      @Nonnull public B paths(@Nullable String value, @Nullable String... values)
      Parameters:
      value - limits the diff to include only the specified path
      values - limits the diff to include only the specified paths
      Returns:
      this
    • whitespace

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

      @Nonnull protected abstract B self()