Package org.eclipse.aether.resolution
Class ArtifactDescriptorPolicyRequest
java.lang.Object
org.eclipse.aether.resolution.ArtifactDescriptorPolicyRequest
A query for the error policy for a given artifact's descriptor.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an uninitialized request.ArtifactDescriptorPolicyRequest(Artifact artifact, String context) Creates a request for the specified artifact.
- 
Method SummaryModifier and TypeMethodDescriptionGets the artifact for whose descriptor to determine the error policy.Gets the context in which this request is made.setArtifact(Artifact artifact) Sets the artifact for whose descriptor to determine the error policy.setRequestContext(String context) Sets the context in which this request is made.toString()
- 
Constructor Details- 
ArtifactDescriptorPolicyRequestpublic ArtifactDescriptorPolicyRequest()Creates an uninitialized request.
- 
ArtifactDescriptorPolicyRequestCreates a request for the specified artifact.- Parameters:
- artifact- The artifact for whose descriptor to determine the error policy, may be- null.
- context- The context in which this request is made, may be- null.
 
 
- 
- 
Method Details- 
getArtifactGets the artifact for whose descriptor to determine the error policy.- Returns:
- The artifact for whose descriptor to determine the error policy or nullif not set.
 
- 
setArtifactSets the artifact for whose descriptor to determine the error policy.- Parameters:
- artifact- The artifact for whose descriptor to determine the error policy, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
getRequestContextGets the context in which this request is made.- Returns:
- The context, never null.
 
- 
setRequestContextSets the context in which this request is made.- Parameters:
- context- The context, may be- null.
- Returns:
- This request for chaining, never null.
 
- 
toString
 
-