Class AbstractArtifactMetadata

  • All Implemented Interfaces:
    org.apache.maven.repository.legacy.metadata.ArtifactMetadata
    Direct Known Subclasses:
    AbstractArtifactMetadata

    public abstract class AbstractArtifactMetadata
    extends java.lang.Object
    implements org.apache.maven.repository.legacy.metadata.ArtifactMetadata
    Common elements of artifact metadata.
    Author:
    Brett Porter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.maven.artifact.Artifact artifact  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractArtifactMetadata​(org.apache.maven.artifact.Artifact artifact)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String extendedToString()  
      java.lang.String getArtifactId()  
      java.lang.String getGroupId()  
      boolean storedInGroupDirectory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata

        getBaseVersion, getKey, getLocalFilename, getRemoteFilename, merge, storedInArtifactVersionDirectory, storeInLocalRepository
    • Field Detail

      • artifact

        protected org.apache.maven.artifact.Artifact artifact
    • Constructor Detail

      • AbstractArtifactMetadata

        protected AbstractArtifactMetadata​(org.apache.maven.artifact.Artifact artifact)
    • Method Detail

      • storedInGroupDirectory

        public boolean storedInGroupDirectory()
        Specified by:
        storedInGroupDirectory in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata
      • getGroupId

        public java.lang.String getGroupId()
        Specified by:
        getGroupId in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata
      • getArtifactId

        public java.lang.String getArtifactId()
        Specified by:
        getArtifactId in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata
      • extendedToString

        public java.lang.String extendedToString()
        Specified by:
        extendedToString in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadata