Package com.atlassian.bitbucket.content
Class FileSummary.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<B,S>
com.atlassian.bitbucket.util.AbstractPagedSummary.AbstractPagedBuilder<FileSummary.Builder,FileSummary>
com.atlassian.bitbucket.content.FileSummary.Builder
- Enclosing class:
- FileSummary
public static class FileSummary.Builder
extends AbstractPagedSummary.AbstractPagedBuilder<FileSummary.Builder,FileSummary>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ConstructorDescriptionBuilder
(CommandResult result) Creates a new builder with the providedresult
.Builder
(AbstractSummary summary) Creates and initializes a new builder using details from the providedsummary
. -
Method Summary
Methods inherited from class com.atlassian.bitbucket.util.AbstractPagedSummary.AbstractPagedBuilder
lastPage, pageRequest, size
Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
Creates and initializes a new builder using details from the providedsummary
. If the provided summary ispaged
, those details will also be copied over.- Parameters:
summary
- the summary to initialize this builder from
-
Builder
Creates a new builder with the providedresult
.- Parameters:
result
- the operation result for the summary
-
-
Method Details
-
build
- Specified by:
build
in classAbstractSummary.AbstractBuilder<FileSummary.Builder,
FileSummary>
-
self
- Specified by:
self
in classAbstractSummary.AbstractBuilder<FileSummary.Builder,
FileSummary>
-