public static class DiffSummary.Builder extends AbstractSummary.AbstractBuilder<DiffSummary.Builder,DiffSummary>
NOT_BLANK
Constructor and Description |
---|
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 . |
Modifier and Type | Method and Description |
---|---|
DiffSummary |
build() |
protected DiffSummary.Builder |
self() |
DiffSummary.Builder |
truncated(boolean value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull AbstractSummary summary)
summary
.summary
- the summary to initialize this builder frompublic Builder(@Nonnull CommandResult result)
result
.result
- the operation result for the summary@Nonnull public DiffSummary build()
build
in class AbstractSummary.AbstractBuilder<DiffSummary.Builder,DiffSummary>
@Nonnull protected DiffSummary.Builder self()
self
in class AbstractSummary.AbstractBuilder<DiffSummary.Builder,DiffSummary>
@Nonnull public DiffSummary.Builder truncated(boolean value)
Copyright © 2019 Atlassian. All rights reserved.