public static class SimpleRepositoryRef.Builder extends SimpleMinimalRepositoryRef.AbstractBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef>
Constructor and Description |
---|
Builder(Repository repository) |
Builder(Repository repository,
Ref ref) |
Builder(SimpleRepositoryRef ref) |
Modifier and Type | Method and Description |
---|---|
SimpleRepositoryRef |
build()
Builds a ref from the assembled components.
|
SimpleRepositoryRef.Builder |
latestCommit(String value) |
protected SimpleRepositoryRef.Builder |
self() |
type
displayId, id
public Builder(@Nonnull Repository repository)
public Builder(@Nonnull Repository repository, @Nonnull Ref ref)
public Builder(@Nonnull SimpleRepositoryRef ref)
@Nonnull public SimpleRepositoryRef build()
SimpleMinimalRef.AbstractMinimalRefBuilder
build
in class SimpleMinimalRef.AbstractMinimalRefBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef>
@Nonnull public SimpleRepositoryRef.Builder latestCommit(@Nonnull String value)
@Nonnull protected SimpleRepositoryRef.Builder self()
self
in class SimpleMinimalRef.AbstractMinimalRefBuilder<SimpleRepositoryRef.Builder,SimpleRepositoryRef>
Copyright © 2020 Atlassian. All rights reserved.