Class SimpleRepositoryRef.Builder
java.lang.Object
com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder<B,R>
com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef.AbstractBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef>
com.atlassian.bitbucket.repository.SimpleRepositoryRef.Builder
- Enclosing class:
- SimpleRepositoryRef
public static class SimpleRepositoryRef.Builder
extends SimpleMinimalRepositoryRef.AbstractBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a ref from the assembled components.latestCommit
(String value) protected SimpleRepositoryRef.Builder
self()
Methods inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef.AbstractBuilder
type
Methods inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder
displayId, id
-
Constructor Details
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
build
Description copied from class:SimpleMinimalRef.AbstractMinimalRefBuilder
Builds a ref from the assembled components.- Specified by:
build
in classSimpleMinimalRef.AbstractMinimalRefBuilder<SimpleRepositoryRef.Builder,
SimpleRepositoryRef> - Returns:
- the built ref
-
latestCommit
-
self
- Specified by:
self
in classSimpleMinimalRef.AbstractMinimalRefBuilder<SimpleRepositoryRef.Builder,
SimpleRepositoryRef>
-