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:ClassRealmConstituent
Gets the group id of the constituent's artifact.- Specified by:
getGroupId
in interfaceClassRealmConstituent
- Returns:
- The group id, never
null
.
-
getArtifactId
Description copied from interface:ClassRealmConstituent
Gets the artifact id of the constituent's artifact.- Specified by:
getArtifactId
in interfaceClassRealmConstituent
- Returns:
- The artifact id, never
null
.
-
getType
Description copied from interface:ClassRealmConstituent
Gets the type of the constituent's artifact.- Specified by:
getType
in interfaceClassRealmConstituent
- Returns:
- The type, never
null
.
-
getClassifier
Description copied from interface:ClassRealmConstituent
Gets the classifier of the constituent's artifact.- Specified by:
getClassifier
in interfaceClassRealmConstituent
- Returns:
- The classifier or an empty string, never
null
.
-
getVersion
Description copied from interface:ClassRealmConstituent
Gets the version of the constituent's artifact.- Specified by:
getVersion
in interfaceClassRealmConstituent
- Returns:
- The version, never
null
.
-
getFile
Description copied from interface:ClassRealmConstituent
Gets the file of the constituent's artifact.- Specified by:
getFile
in interfaceClassRealmConstituent
- Returns:
- The file, never
null
.
-
toString
-