Class AbstractSummary.AbstractBuilder<B extends AbstractSummary.AbstractBuilder<B,S>,S extends AbstractSummary>

java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<B,S>
Direct Known Subclasses:
AbstractPagedSummary.AbstractPagedBuilder, BranchSummary.Builder, BulkCommitSummary.Builder, BulkContentSummary.Builder, BulkTraversalSummary.Builder, ChangeSummary.Builder, CommandSummary.Builder, CommitSummary.Builder, DiffSummary.Builder, LastModifiedSummary.Builder, MirrorSyncSummary.Builder, PushSummary.Builder, RefSummary.Builder, SignedObjectsSummary.Builder, TagSummary.Builder, TraversalSummary.Builder
Enclosing class:
AbstractSummary

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

    • AbstractBuilder

      protected AbstractBuilder(@Nonnull AbstractSummary summary)
      Creates and initializes a new builder using details from the provided summary.
      Parameters:
      summary - the summary to initialize this builder from
    • AbstractBuilder

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

    • build

      @Nonnull public abstract S build()
    • self

      @Nonnull protected abstract B self()