Package com.atlassian.bitbucket.util
Class AbstractPagedSummary.AbstractPagedBuilder<B extends AbstractPagedSummary.AbstractPagedBuilder<B,S>,S extends AbstractPagedSummary>
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<B,S>
com.atlassian.bitbucket.util.AbstractPagedSummary.AbstractPagedBuilder<B,S>
- Direct Known Subclasses:
ContentTreeSummary.Builder,FileSummary.Builder
- Enclosing class:
AbstractPagedSummary
public abstract static class AbstractPagedSummary.AbstractPagedBuilder<B extends AbstractPagedSummary.AbstractPagedBuilder<B,S>,S extends AbstractPagedSummary>
extends AbstractSummary.AbstractBuilder<B,S>
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractPagedBuilder(CommandResult result) Creates a new builder with the providedresult.protectedAbstractPagedBuilder(AbstractSummary summary) Creates and initializes a new builder using details from the providedsummary. -
Method Summary
Modifier and TypeMethodDescriptionlastPage(boolean value) pageRequest(PageRequest value) size(int value) Methods inherited from class com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder
build, selfMethods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
AbstractPagedBuilder
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
-
AbstractPagedBuilder
Creates a new builder with the providedresult.- Parameters:
result- the operation result for the summary
-
-
Method Details
-
lastPage
-
pageRequest
-
size
-