public static class

RefSummary.Builder

extends AbstractSummary.AbstractBuilder<B extends AbstractBuilder<B, S extends AbstractSummary>, S>
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<B extends com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<B, S extends com.atlassian.bitbucket.util.AbstractSummary>, S>
       ↳ com.atlassian.bitbucket.repository.RefSummary.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
Builder(AbstractSummary summary)
Creates and initializes a new builder using details from the provided summary.
Builder(CommandResult result)
Creates a new builder with the provided result.
Public Methods
@Nonnull RefSummary build()
Protected Methods
@Nonnull RefSummary.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

public Builder (AbstractSummary summary)

Creates and initializes a new builder using details from the provided summary.

Parameters
summary the summary to initialize this builder from

public Builder (CommandResult result)

Creates a new builder with the provided result.

Parameters
result the operation result for the summary

Public Methods

@Nonnull public RefSummary build ()

Protected Methods

@Nonnull protected RefSummary.Builder self ()