Package org.apache.maven.model.building
Class ArtifactModelSource
java.lang.Object
org.apache.maven.building.FileSource
org.apache.maven.model.building.ArtifactModelSource
- All Implemented Interfaces:
Source
,ModelSource
Represents a model pulled from a repository
- Since:
- 4.0.0
-
Constructor Summary
ConstructorDescriptionArtifactModelSource
(File file, String groupId, String artifactId, String version) Deprecated.ArtifactModelSource
(Path path, String groupId, String artifactId, String version) -
Method Summary
Methods inherited from class org.apache.maven.building.FileSource
getFile, getInputStream, getLocation, getPath
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.building.Source
getInputStream, getLocation
-
Constructor Details
-
ArtifactModelSource
@Deprecated public ArtifactModelSource(File file, String groupId, String artifactId, String version) Deprecated. -
ArtifactModelSource
-
-
Method Details
-
getGroupId
-
getArtifactId
-
getVersion
-
hashCode
public int hashCode()- Overrides:
hashCode
in classFileSource
-
equals
- Overrides:
equals
in classFileSource
-
toString
- Overrides:
toString
in classFileSource
-