public class ResolutionRequest extends Object
Constructor and Description |
---|
ResolutionRequest() |
ResolutionRequest(org.sonatype.aether.artifact.Artifact artifact) |
ResolutionRequest(String groupId,
String artifactId,
String version,
String extension) |
Modifier and Type | Method and Description |
---|---|
org.sonatype.aether.artifact.Artifact |
getArtifact()
Get artifact which resolution is requested.
|
boolean |
isProviderNeeded()
Determine whether information about artifact provider should be included in resolution result.
|
void |
setArtifact(org.sonatype.aether.artifact.Artifact artifact)
Set artifact which resolution is requested.
|
void |
setProviderNeeded(boolean isProviderNeeded)
Set whether information about artifact provider should be included in resolution result.
|
public ResolutionRequest()
public ResolutionRequest(org.sonatype.aether.artifact.Artifact artifact)
public org.sonatype.aether.artifact.Artifact getArtifact()
public void setArtifact(org.sonatype.aether.artifact.Artifact artifact)
artifact
- artifact which resolution is requestedpublic boolean isProviderNeeded()
Artifact provider is name of system package providing requested artifact.
public void setProviderNeeded(boolean isProviderNeeded)
Artifact provider is name of system package providing requested artifact.
isProviderNeeded
- whether information about artifact provider should be included in resolution resultCopyright © 2012-2014 Red Hat, Inc.. All Rights Reserved.