public static class

FileSummary.Builder

extends AbstractPagedSummary.AbstractPagedBuilder<B extends AbstractPagedBuilder<B, S extends AbstractPagedSummary>, 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.util.AbstractPagedSummary.AbstractPagedBuilder<B extends com.atlassian.bitbucket.util.AbstractPagedSummary.AbstractPagedBuilder<B, S extends com.atlassian.bitbucket.util.AbstractPagedSummary>, S>
         ↳ com.atlassian.bitbucket.content.FileSummary.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 FileSummary build()
Protected Methods
@Nonnull FileSummary.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.util.AbstractPagedSummary.AbstractPagedBuilder
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 paged, 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 FileSummary build ()

Protected Methods

@Nonnull protected FileSummary.Builder self ()