Package com.atlassian.bitbucket.content
Class ChangeSummary.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.util.AbstractSummary.AbstractBuilder<ChangeSummary.Builder,ChangeSummary>
 
com.atlassian.bitbucket.content.ChangeSummary.Builder
- Enclosing class:
- ChangeSummary
public static class ChangeSummary.Builder
extends AbstractSummary.AbstractBuilder<ChangeSummary.Builder,ChangeSummary> 
- 
Field SummaryFields inherited from class com.atlassian.bitbucket.util.BuilderSupportNOT_BLANK
- 
Constructor SummaryConstructorsConstructorDescriptionBuilder(CommandResult result) Creates a new builder with the providedresult.Builder(AbstractSummary summary) Creates and initializes a new builder using details from the providedsummary.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()protected ChangeSummary.Builderself()truncated(boolean value) Methods inherited from class com.atlassian.bitbucket.util.BuilderSupportaddIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
- 
Constructor Details- 
BuilderCreates and initializes a new builder using details from the providedsummary. If the provided summary is aChangeSummary, those details will also be copied over.- Parameters:
- summary- the summary to initialize this builder from
 
- 
BuilderCreates a new builder with the providedresult.- Parameters:
- result- the operation result for the summary
 
 
- 
- 
Method Details- 
build- Specified by:
- buildin class- AbstractSummary.AbstractBuilder<ChangeSummary.Builder,- ChangeSummary> 
 
- 
truncated
- 
self- Specified by:
- selfin class- AbstractSummary.AbstractBuilder<ChangeSummary.Builder,- ChangeSummary> 
 
 
-