Class ArtifactStub
java.lang.Object
org.apache.maven.api.plugin.testing.stubs.ArtifactStub
- All Implemented Interfaces:
Artifact
- Direct Known Subclasses:
ProducedArtifactStub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanvoidsetArtifactId(String artifactId) voidsetBaseVersion(String baseVersion) voidsetClassifier(String classifier) voidsetExtension(String extension) voidsetGroupId(String groupId) voidsetVersion(String version) toString()
-
Constructor Details
-
ArtifactStub
public ArtifactStub() -
ArtifactStub
-
-
Method Details
-
getGroupId
- Specified by:
getGroupIdin interfaceArtifact
-
setGroupId
-
getArtifactId
- Specified by:
getArtifactIdin interfaceArtifact
-
setArtifactId
-
getClassifier
- Specified by:
getClassifierin interfaceArtifact
-
setClassifier
-
getVersion
- Specified by:
getVersionin interfaceArtifact
-
setVersion
-
getBaseVersion
- Specified by:
getBaseVersionin interfaceArtifact
-
setBaseVersion
-
getExtension
- Specified by:
getExtensionin interfaceArtifact
-
setExtension
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshotin interfaceArtifact
-
toCoordinates
- Specified by:
toCoordinatesin interfaceArtifact
-
toString
-
equals
-
hashCode
-