public final class ArtifactDescriptorPolicyRequest extends Object
ArtifactDescriptorPolicy| Constructor and Description |
|---|
ArtifactDescriptorPolicyRequest()
Creates an uninitialized request.
|
ArtifactDescriptorPolicyRequest(Artifact artifact,
String context)
Creates a request for the specified artifact.
|
| Modifier and Type | Method and Description |
|---|---|
Artifact |
getArtifact()
Gets the artifact for whose descriptor to determine the error policy.
|
String |
getRequestContext()
Gets the context in which this request is made.
|
ArtifactDescriptorPolicyRequest |
setArtifact(Artifact artifact)
Sets the artifact for whose descriptor to determine the error policy.
|
ArtifactDescriptorPolicyRequest |
setRequestContext(String context)
Sets the context in which this request is made.
|
String |
toString() |
public ArtifactDescriptorPolicyRequest()
public ArtifactDescriptorPolicyRequest(Artifact artifact, String context)
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.public Artifact getArtifact()
null if not set.public ArtifactDescriptorPolicyRequest setArtifact(Artifact artifact)
artifact - The artifact for whose descriptor to determine the error policy, may be null.null.public String getRequestContext()
null.public ArtifactDescriptorPolicyRequest setRequestContext(String context)
context - The context, may be null.null.Copyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.