public class ResolutionRequest
extends java.lang.Object
Constructor and Description |
---|
ResolutionRequest() |
ResolutionRequest(Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Artifact |
getArtifact()
Get artifact which resolution is requested.
|
int |
hashCode() |
boolean |
isPersistentFileNeeded()
Determine whether resolved artifact file should be persistent or not.
|
boolean |
isProviderNeeded()
Determine whether information about artifact provider should be included in resolution result.
|
void |
setArtifact(Artifact artifact)
Set artifact which resolution is requested.
|
void |
setPersistentFileNeeded(boolean isPersistentFileNeeded)
Set whether resolved artifact file should be persistent or not.
|
void |
setProviderNeeded(boolean isProviderNeeded)
Set whether information about artifact provider should be included in resolution result.
|
java.lang.String |
toString() |
public ResolutionRequest()
public ResolutionRequest(Artifact artifact)
public Artifact getArtifact()
public void setArtifact(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 resultpublic boolean isPersistentFileNeeded()
Non-persistent files may be removed during JVM shutdown, while persistent files are not cleaned up during JVM shutdown.
public void setPersistentFileNeeded(boolean isPersistentFileNeeded)
Non-persistent files may be removed during JVM shutdown, while persistent files are not cleaned up during JVM shutdown.
isPersistentFileNeeded
- public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012–2017 Red Hat, Inc.. All rights reserved.