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