Class ArtifactStub
java.lang.Object
org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- All Implemented Interfaces:
org.apache.maven.api.Artifact
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
org.apache.maven.api.Version
int
hashCode()
boolean
void
setArtifactId
(String artifactId) void
setClassifier
(String classifier) void
setExtension
(String extension) void
setGroupId
(String groupId) void
setVersion
(String version) org.apache.maven.api.ArtifactCoordinate
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
-
getExtension
- Specified by:
getExtension
in interfaceorg.apache.maven.api.Artifact
-
setExtension
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshot
in interfaceorg.apache.maven.api.Artifact
-
toCoordinate
public org.apache.maven.api.ArtifactCoordinate toCoordinate()- Specified by:
toCoordinate
in interfaceorg.apache.maven.api.Artifact
-
toString
-
equals
-
hashCode
public int hashCode()
-