Class ArtifactDescriptorPolicyRequest

    • Constructor Detail

      • ArtifactDescriptorPolicyRequest

        public ArtifactDescriptorPolicyRequest​(Artifact artifact,
                                               String context)
        Creates 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 Detail

      • getArtifact

        public Artifact getArtifact()
        Gets the artifact for whose descriptor to determine the error policy.
        Returns:
        The artifact for whose descriptor to determine the error policy or null if not set.
      • setArtifact

        public ArtifactDescriptorPolicyRequest setArtifact​(Artifact artifact)
        Sets 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.
      • getRequestContext

        public String getRequestContext()
        Gets the context in which this request is made.
        Returns:
        The context, never null.