@NotThreadSafe public static class Repository.Builder extends RepositoryBase.Builder
RepositoryBase.with()
,
RepositoryBase.newBuilder()
Modifier and Type | Method and Description |
---|---|
Repository |
build() |
Repository.Builder |
id(String id) |
Repository.Builder |
layout(String layout) |
Repository.Builder |
name(String name) |
Repository.Builder |
releases(RepositoryPolicy releases) |
Repository.Builder |
snapshots(RepositoryPolicy snapshots) |
Repository.Builder |
url(String url) |
@Nonnull public Repository.Builder id(String id)
id
in class RepositoryBase.Builder
@Nonnull public Repository.Builder name(String name)
name
in class RepositoryBase.Builder
@Nonnull public Repository.Builder url(String url)
url
in class RepositoryBase.Builder
@Nonnull public Repository.Builder layout(String layout)
layout
in class RepositoryBase.Builder
@Nonnull public Repository.Builder releases(RepositoryPolicy releases)
@Nonnull public Repository.Builder snapshots(RepositoryPolicy snapshots)
@Nonnull public Repository build()
build
in class RepositoryBase.Builder
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.