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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a ref from the assembled components.latestCommit(String value) protected SimpleRepositoryRef.Builderself()Methods inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRepositoryRef.AbstractBuilder
typeMethods inherited from class com.atlassian.bitbucket.repository.SimpleMinimalRef.AbstractMinimalRefBuilder
displayId, id
-
Constructor Details
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
build
Description copied from class:SimpleMinimalRef.AbstractMinimalRefBuilderBuilds a ref from the assembled components.- Specified by:
buildin classSimpleMinimalRef.AbstractMinimalRefBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef> - Returns:
- the built ref
-
latestCommit
-
self
- Specified by:
selfin classSimpleMinimalRef.AbstractMinimalRefBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef>
-