public static class

ChangeSummary.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.content.ChangeSummary.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 ChangeSummary build()
@Nonnull ChangeSummary.Builder truncated(boolean value)
Protected Methods
@Nonnull ChangeSummary.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. If the provided summary is a ChangeSummary, those details will also be copied over.

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 ChangeSummary build ()

@Nonnull public ChangeSummary.Builder truncated (boolean value)

Protected Methods

@Nonnull protected ChangeSummary.Builder self ()