Class ArtifactStub
java.lang.Object
org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- All Implemented Interfaces:
org.apache.maven.api.Artifact
- Direct Known Subclasses:
ProducedArtifactStub
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
org.apache.maven.api.Version
org.apache.maven.api.Version
int
hashCode()
boolean
void
setArtifactId
(String artifactId) void
setBaseVersion
(String baseVersion) void
setClassifier
(String classifier) void
setExtension
(String extension) void
setGroupId
(String groupId) void
setVersion
(String version) org.apache.maven.api.ArtifactCoordinates
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.api.Artifact
key
-
Constructor Details
-
ArtifactStub
public ArtifactStub() -
ArtifactStub
-
-
Method Details
-
getGroupId
- Specified by:
getGroupId
in interfaceorg.apache.maven.api.Artifact
-
setGroupId
-
getArtifactId
- Specified by:
getArtifactId
in interfaceorg.apache.maven.api.Artifact
-
setArtifactId
-
getClassifier
- Specified by:
getClassifier
in interfaceorg.apache.maven.api.Artifact
-
setClassifier
-
getVersion
@Nonnull public org.apache.maven.api.Version getVersion()- Specified by:
getVersion
in interfaceorg.apache.maven.api.Artifact
-
setVersion
-
getBaseVersion
public org.apache.maven.api.Version getBaseVersion()- Specified by:
getBaseVersion
in interfaceorg.apache.maven.api.Artifact
-
setBaseVersion
-
getExtension
- Specified by:
getExtension
in interfaceorg.apache.maven.api.Artifact
-
setExtension
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshot
in interfaceorg.apache.maven.api.Artifact
-
toCoordinates
public org.apache.maven.api.ArtifactCoordinates toCoordinates()- Specified by:
toCoordinates
in interfaceorg.apache.maven.api.Artifact
-
toString
-
equals
-
hashCode
public int hashCode()
-