Class AbstractPagedSummary.AbstractPagedBuilder<B extends AbstractPagedSummary.AbstractPagedBuilder<B,S>,S extends AbstractPagedSummary>

java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<B,S>
com.atlassian.bitbucket.util.AbstractPagedSummary.AbstractPagedBuilder<B,S>
Direct Known Subclasses:
ContentTreeSummary.Builder, FileSummary.Builder
Enclosing class:
AbstractPagedSummary

public abstract static class AbstractPagedSummary.AbstractPagedBuilder<B extends AbstractPagedSummary.AbstractPagedBuilder<B,S>,S extends AbstractPagedSummary> extends AbstractSummary.AbstractBuilder<B,S>
  • Constructor Details

    • AbstractPagedBuilder

      protected AbstractPagedBuilder(@Nonnull AbstractSummary summary)
      Creates and initializes a new builder using details from the provided summary. If the provided summary is paged, those details will also be copied over.
      Parameters:
      summary - the summary to initialize this builder from
    • AbstractPagedBuilder

      protected AbstractPagedBuilder(@Nonnull CommandResult result)
      Creates a new builder with the provided result.
      Parameters:
      result - the operation result for the summary
  • Method Details

    • lastPage

      @Nonnull public B lastPage(boolean value)
    • pageRequest

      @Nonnull public B pageRequest(@Nonnull PageRequest value)
    • size

      @Nonnull public B size(int value)