public static class

SimpleRepositoryRef.Builder

extends SimpleMinimalRepositoryRef.AbstractBuilder<B extends AbstractBuilder<B, R extends MinimalRepositoryRef>, R>
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder<B extends com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder<B, R extends com.atlassian.bitbucket.repository.MinimalRef>, R>
     ↳ com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef.AbstractBuilder<B extends com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef.AbstractBuilder<B, R extends com.atlassian.bitbucket.repository.MinimalRepositoryRef>, R>
       ↳ com.atlassian.bitbucket.repository.SimpleRepositoryRef.Builder

Summary

Public Constructors
Builder(Repository repository)
Builder(Repository repository, Ref ref)
Builder(SimpleRepositoryRef ref)
Public Methods
@Nonnull SimpleRepositoryRef build()
Builds a ref from the assembled components.
@Nonnull SimpleRepositoryRef.Builder latestCommit(String value)
Protected Methods
@Nonnull SimpleRepositoryRef.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef.AbstractBuilder
From class com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder
From class java.lang.Object

Public Constructors

public Builder (Repository repository)

public Builder (Repository repository, Ref ref)

public Builder (SimpleRepositoryRef ref)

Public Methods

@Nonnull public SimpleRepositoryRef build ()

Builds a ref from the assembled components.

Returns
  • the built ref

@Nonnull public SimpleRepositoryRef.Builder latestCommit (String value)

Protected Methods

@Nonnull protected SimpleRepositoryRef.Builder self ()