|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataResolutionRequest
Forms a request to retrieve artifact metadata.
Method Summary | |
---|---|
Artifact |
getArtifact()
Gets the artifact to resolve metadata for. |
ArtifactRepository |
getLocalRepository()
Gets the local repository to use for the resolution. |
List<ArtifactRepository> |
getRemoteRepositories()
Gets the remote repositories to use for the resolution. |
boolean |
isOffline()
Indicates whether network access to remote repositories has been disabled. |
boolean |
isResolveManagedVersions()
Determines whether the managed version information should be retrieved. |
MetadataResolutionRequest |
setArtifact(Artifact artifact)
Sets the artifact for which to resolve metadata. |
MetadataResolutionRequest |
setLocalRepository(ArtifactRepository localRepository)
Sets the local repository to use for the resolution. |
MetadataResolutionRequest |
setOffline(boolean offline)
Enables/disables network access to remote repositories. |
MetadataResolutionRequest |
setRemoteRepositories(List<ArtifactRepository> remoteRepositories)
Sets the remote repositories to use for the resolution. |
MetadataResolutionRequest |
setResolveManagedVersions(boolean resolveManagedVersions)
Enables/disables resolution of the dependency manageemnt information. |
Methods inherited from interface org.apache.maven.artifact.repository.RepositoryRequest |
---|
isForceUpdate, setForceUpdate |
Method Detail |
---|
boolean isOffline()
isOffline
in interface RepositoryRequest
true
if remote access has been disabled, false
otherwise.MetadataResolutionRequest setOffline(boolean offline)
setOffline
in interface RepositoryRequest
offline
- true
to disable remote access, false
to allow network access.
null
.Artifact getArtifact()
null
if not set.MetadataResolutionRequest setArtifact(Artifact artifact)
artifact
- The artifact for which to resolve metadata.
null
.ArtifactRepository getLocalRepository()
getLocalRepository
in interface RepositoryRequest
null
if not set.MetadataResolutionRequest setLocalRepository(ArtifactRepository localRepository)
setLocalRepository
in interface RepositoryRequest
localRepository
- The local repository to use for the resolution.
null
.List<ArtifactRepository> getRemoteRepositories()
getRemoteRepositories
in interface RepositoryRequest
null
.MetadataResolutionRequest setRemoteRepositories(List<ArtifactRepository> remoteRepositories)
setRemoteRepositories
in interface RepositoryRequest
remoteRepositories
- The remote repositories to use for the resolution.
null
.boolean isResolveManagedVersions()
true
if the dependency management information should be retrieved, false
otherwise.MetadataResolutionRequest setResolveManagedVersions(boolean resolveManagedVersions)
resolveManagedVersions
- true
if the dependency management information should be retrieved, false
otherwise.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |