Class AbstractArtifactMetadata
- java.lang.Object
-
- org.apache.maven.repository.legacy.metadata.AbstractArtifactMetadata
-
- All Implemented Interfaces:
ArtifactMetadata
- Direct Known Subclasses:
AbstractArtifactMetadata
public abstract class AbstractArtifactMetadata extends Object implements ArtifactMetadata
Common elements of artifact metadata.- Author:
- Brett Porter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractArtifactMetadata(Artifact artifact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extendedToString()
String
getArtifactId()
String
getGroupId()
boolean
storedInGroupDirectory()
Whether this metadata should be stored alongside the group.-
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 Artifact artifact
-
-
Constructor Detail
-
AbstractArtifactMetadata
protected AbstractArtifactMetadata(Artifact artifact)
-
-
Method Detail
-
storedInGroupDirectory
public boolean storedInGroupDirectory()
Description copied from interface:ArtifactMetadata
Whether this metadata should be stored alongside the group.- Specified by:
storedInGroupDirectory
in interfaceArtifactMetadata
-
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interfaceArtifactMetadata
-
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId
in interfaceArtifactMetadata
-
extendedToString
public String extendedToString()
- Specified by:
extendedToString
in interfaceArtifactMetadata
-
-