public class FluentRepositoryBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.settings.Repository |
build() |
static FluentRepositoryBuilder |
newRepository()
Repository contains the information needed for
establishing connections with remote repository.
|
FluentRepositoryBuilder |
withId(java.lang.String id)
Set a unique identifier for a repository.
|
FluentRepositoryBuilder |
withLayout(java.lang.String layout)
Set the type of layout this repository uses for locating and
storing artifacts - can be "legacy" or
"default".
|
FluentRepositoryBuilder |
withName(java.lang.String name)
Set human readable name of the repository.
|
FluentRepositoryBuilder |
withReleases(FluentRepositoryPolicyBuilder releases)
Set how to handle downloading of releases from this
repository.
|
FluentRepositoryBuilder |
withReleases(org.apache.maven.settings.RepositoryPolicy releases)
Set how to handle downloading of releases from this
repository.
|
FluentRepositoryBuilder |
withSnapshots(FluentRepositoryPolicyBuilder snapshots)
Set how to handle downloading of snapshots from this
repository.
|
FluentRepositoryBuilder |
withSnapshots(org.apache.maven.settings.RepositoryPolicy snapshots)
Set how to handle downloading of snapshots from this
repository.
|
FluentRepositoryBuilder |
withUrl(java.lang.String url)
Set the url of the repository.
|
public static FluentRepositoryBuilder newRepository()
public org.apache.maven.settings.Repository build()
public FluentRepositoryBuilder withId(java.lang.String id)
id - public FluentRepositoryBuilder withName(java.lang.String name)
name - public FluentRepositoryBuilder withUrl(java.lang.String url)
url - public FluentRepositoryBuilder withLayout(java.lang.String layout)
layout - public FluentRepositoryBuilder withReleases(FluentRepositoryPolicyBuilder releases)
releases - public FluentRepositoryBuilder withReleases(org.apache.maven.settings.RepositoryPolicy releases)
releases - public FluentRepositoryBuilder withSnapshots(FluentRepositoryPolicyBuilder snapshots)
snapshots - public FluentRepositoryBuilder withSnapshots(org.apache.maven.settings.RepositoryPolicy snapshots)
snapshots - Copyright © 2014 Yandex. All Rights Reserved.