public static class

CommitSummary.Builder

extends AbstractSummary.AbstractBuilder<B extends AbstractBuilder<B, S extends AbstractSummary>, S>
java.lang.Object
   ↳ com.atlassian.stash.util.BuilderSupport
     ↳ com.atlassian.stash.util.AbstractSummary.AbstractBuilder<B extends com.atlassian.stash.util.AbstractSummary.AbstractBuilder<B, S extends com.atlassian.stash.util.AbstractSummary>, S>
       ↳ com.atlassian.stash.commit.CommitSummary.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.stash.util.BuilderSupport
Public Constructors
CommitSummary.Builder(AbstractSummary summary)
Creates and initializes a new builder by copying details from the provided summary.
CommitSummary.Builder(CommandResult result)
Creates a new builder with the provided result.
Public Methods
@Nonnull CommitSummary build()
Protected Methods
@Nonnull CommitSummary.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.stash.util.AbstractSummary.AbstractBuilder
From class com.atlassian.stash.util.BuilderSupport
From class java.lang.Object

Public Constructors

public CommitSummary.Builder (AbstractSummary summary)

Creates and initializes a new builder by copying details from the provided summary.

Parameters
summary the summary to initialize this builder from

public CommitSummary.Builder (CommandResult result)

Creates a new builder with the provided result.

Parameters
result the operation result for the summary

Public Methods

@Nonnull public CommitSummary build ()

Protected Methods

@Nonnull protected CommitSummary.Builder self ()