Modifier and Type | Method and Description |
---|---|
Repository |
Repository.Builder.build() |
static Repository |
Repository.newInstance()
Creates a new
Repository instance. |
static Repository |
Repository.newInstance(boolean withDefaults)
Creates a new
Repository instance using default values or not. |
Repository |
Repository.withId(String id)
Creates a new
Repository instance using the specified id. |
Repository |
Repository.withLayout(String layout)
Creates a new
Repository instance using the specified layout. |
Repository |
Repository.withName(String name)
Creates a new
Repository instance using the specified name. |
Repository |
Repository.withReleases(RepositoryPolicy releases)
Creates a new
Repository instance using the specified releases. |
Repository |
Repository.withSnapshots(RepositoryPolicy snapshots)
Creates a new
Repository instance using the specified snapshots. |
Repository |
Repository.withUrl(String url)
Creates a new
Repository instance using the specified url. |
Modifier and Type | Method and Description |
---|---|
List<Repository> |
Profile.getPluginRepositories()
The lists of the remote repositories for discovering plugins.
|
List<Repository> |
Profile.getRepositories()
The lists of the remote repositories.
|
Modifier and Type | Method and Description |
---|---|
static Repository.Builder |
Repository.newBuilder(Repository from)
Creates a new
Repository builder instance using the specified object as a basis. |
static Repository.Builder |
Repository.newBuilder(Repository from,
boolean forceCopy)
Creates a new
Repository builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Profile.Builder |
Profile.Builder.pluginRepositories(Collection<Repository> pluginRepositories) |
Profile.Builder |
Profile.Builder.repositories(Collection<Repository> repositories) |
Profile |
Profile.withPluginRepositories(Collection<Repository> pluginRepositories)
Creates a new
Profile instance using the specified pluginRepositories. |
Profile |
Profile.withRepositories(Collection<Repository> repositories)
Creates a new
Profile instance using the specified repositories. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.