|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryRequest
Collects basic settings to access the repository system.
| Method Summary | |
|---|---|
ArtifactRepository |
getLocalRepository()
Gets the local repository to use. |
List<ArtifactRepository> |
getRemoteRepositories()
Gets the remote repositories to use. |
boolean |
isForceUpdate()
Indicates whether remote repositories should be re-checked for updated artifacts/metadata regardless of their configured update policy. |
boolean |
isOffline()
Indicates whether network access to remote repositories has been disabled. |
RepositoryRequest |
setForceUpdate(boolean forceUpdate)
Enables/disabled forced checks for updated artifacts/metadata on remote repositories. |
RepositoryRequest |
setLocalRepository(ArtifactRepository localRepository)
Sets the local repository to use. |
RepositoryRequest |
setOffline(boolean offline)
Enables/disables network access to remote repositories. |
RepositoryRequest |
setRemoteRepositories(List<ArtifactRepository> remoteRepositories)
Sets the remote repositories to use. |
| Method Detail |
|---|
boolean isOffline()
true if remote access has been disabled, false otherwise.RepositoryRequest setOffline(boolean offline)
offline - true to disable remote access, false to allow network access.
null.boolean isForceUpdate()
true if remote repositories should be re-checked for updated artifacts/metadata, false
otherwise.RepositoryRequest setForceUpdate(boolean forceUpdate)
forceUpdate - true to forcibly check the remote repositories for updated artifacts/metadata, false to use the update policy configured on each repository.
null.ArtifactRepository getLocalRepository()
null if not set.RepositoryRequest setLocalRepository(ArtifactRepository localRepository)
localRepository - The local repository to use.
null.List<ArtifactRepository> getRemoteRepositories()
null.RepositoryRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories)
remoteRepositories - The remote repositories to use.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||