public static class ChangeSummary.Builder extends AbstractSummary.AbstractBuilder<ChangeSummary.Builder,ChangeSummary>
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 |
---|---|
ChangeSummary |
build() |
protected ChangeSummary.Builder |
self() |
ChangeSummary.Builder |
truncated(boolean value) |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull AbstractSummary summary)
summary
. If
the provided summary is a ChangeSummary
, those details will also be copied over.summary
- the summary to initialize this builder frompublic Builder(@Nonnull CommandResult result)
result
.result
- the operation result for the summary@Nonnull public ChangeSummary build()
build
in class AbstractSummary.AbstractBuilder<ChangeSummary.Builder,ChangeSummary>
@Nonnull public ChangeSummary.Builder truncated(boolean value)
@Nonnull protected ChangeSummary.Builder self()
self
in class AbstractSummary.AbstractBuilder<ChangeSummary.Builder,ChangeSummary>
Copyright © 2022 Atlassian. All rights reserved.