Class RelocatedArtifact

java.lang.Object
org.eclipse.aether.artifact.AbstractArtifact
org.apache.maven.repository.internal.RelocatedArtifact
All Implemented Interfaces:
org.eclipse.aether.artifact.Artifact

public final class RelocatedArtifact extends org.eclipse.aether.artifact.AbstractArtifact
  • Constructor Details

    • RelocatedArtifact

      public RelocatedArtifact(org.eclipse.aether.artifact.Artifact artifact, String groupId, String artifactId, String classifier, String extension, String version, String message)
  • Method Details

    • getGroupId

      public String getGroupId()
    • getArtifactId

      public String getArtifactId()
    • getClassifier

      public String getClassifier()
    • getExtension

      public String getExtension()
    • getVersion

      public String getVersion()
    • setVersion

      public org.eclipse.aether.artifact.Artifact setVersion(String version)
      Specified by:
      setVersion in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setVersion in class org.eclipse.aether.artifact.AbstractArtifact
    • setFile

      @Deprecated public org.eclipse.aether.artifact.Artifact setFile(File file)
      Deprecated.
      Specified by:
      setFile in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setFile in class org.eclipse.aether.artifact.AbstractArtifact
    • setPath

      public org.eclipse.aether.artifact.Artifact setPath(Path path)
      Specified by:
      setPath in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setPath in class org.eclipse.aether.artifact.AbstractArtifact
    • setProperties

      public org.eclipse.aether.artifact.Artifact setProperties(Map<String,String> properties)
      Specified by:
      setProperties in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      setProperties in class org.eclipse.aether.artifact.AbstractArtifact
    • getFile

      @Deprecated public File getFile()
      Deprecated.
    • getPath

      public Path getPath()
    • getProperty

      public String getProperty(String key, String defaultValue)
      Specified by:
      getProperty in interface org.eclipse.aether.artifact.Artifact
      Overrides:
      getProperty in class org.eclipse.aether.artifact.AbstractArtifact
    • getProperties

      public Map<String,String> getProperties()
    • getMessage

      public String getMessage()