Package org.apache.maven.classrealm
Class ArtifactClassRealmConstituent
- java.lang.Object
-
- org.apache.maven.classrealm.ArtifactClassRealmConstituent
-
- All Implemented Interfaces:
ClassRealmConstituent
class ArtifactClassRealmConstituent extends java.lang.Object implements ClassRealmConstituent
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.aether.artifact.Artifactartifact
-
Constructor Summary
Constructors Constructor Description ArtifactClassRealmConstituent(org.eclipse.aether.artifact.Artifact artifact)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()Gets the artifact id of the constituent's artifact.java.lang.StringgetClassifier()Gets the classifier of the constituent's artifact.java.io.FilegetFile()Gets the file of the constituent's artifact.java.lang.StringgetGroupId()Gets the group id of the constituent's artifact.java.lang.StringgetType()Gets the type of the constituent's artifact.java.lang.StringgetVersion()Gets the version of the constituent's artifact.java.lang.StringtoString()
-
-
-
Method Detail
-
getGroupId
public java.lang.String getGroupId()
Description copied from interface:ClassRealmConstituentGets the group id of the constituent's artifact.- Specified by:
getGroupIdin interfaceClassRealmConstituent- Returns:
- The group id, never
null.
-
getArtifactId
public java.lang.String getArtifactId()
Description copied from interface:ClassRealmConstituentGets the artifact id of the constituent's artifact.- Specified by:
getArtifactIdin interfaceClassRealmConstituent- Returns:
- The artifact id, never
null.
-
getType
public java.lang.String getType()
Description copied from interface:ClassRealmConstituentGets the type of the constituent's artifact.- Specified by:
getTypein interfaceClassRealmConstituent- Returns:
- The type, never
null.
-
getClassifier
public java.lang.String getClassifier()
Description copied from interface:ClassRealmConstituentGets the classifier of the constituent's artifact.- Specified by:
getClassifierin interfaceClassRealmConstituent- Returns:
- The classifier or an empty string, never
null.
-
getVersion
public java.lang.String getVersion()
Description copied from interface:ClassRealmConstituentGets the version of the constituent's artifact.- Specified by:
getVersionin interfaceClassRealmConstituent- Returns:
- The version, never
null.
-
getFile
public java.io.File getFile()
Description copied from interface:ClassRealmConstituentGets the file of the constituent's artifact.- Specified by:
getFilein interfaceClassRealmConstituent- Returns:
- The file, never
null.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-