Package org.apache.maven.classrealm
Class ArtifactClassRealmConstituent
java.lang.Object
org.apache.maven.classrealm.ArtifactClassRealmConstituent
- All Implemented Interfaces:
ClassRealmConstituent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArtifactClassRealmConstituent(org.eclipse.aether.artifact.Artifact artifact) -
Method Summary
Modifier and TypeMethodDescriptionGets the artifact id of the constituent's artifact.Gets the classifier of the constituent's artifact.getFile()Gets the file of the constituent's artifact.Gets the group id of the constituent's artifact.getType()Gets the type of the constituent's artifact.Gets the version of the constituent's artifact.toString()
-
Field Details
-
artifact
private final org.eclipse.aether.artifact.Artifact artifact
-
-
Constructor Details
-
ArtifactClassRealmConstituent
ArtifactClassRealmConstituent(org.eclipse.aether.artifact.Artifact artifact)
-
-
Method Details
-
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
Description copied from interface:ClassRealmConstituentGets the artifact id of the constituent's artifact.- Specified by:
getArtifactIdin interfaceClassRealmConstituent- Returns:
- The artifact id, never
null.
-
getType
Description copied from interface:ClassRealmConstituentGets the type of the constituent's artifact.- Specified by:
getTypein interfaceClassRealmConstituent- Returns:
- The type, never
null.
-
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
Description copied from interface:ClassRealmConstituentGets the version of the constituent's artifact.- Specified by:
getVersionin interfaceClassRealmConstituent- Returns:
- The version, never
null.
-
getFile
Description copied from interface:ClassRealmConstituentGets the file of the constituent's artifact.- Specified by:
getFilein interfaceClassRealmConstituent- Returns:
- The file, never
null.
-
toString
-