public class ArtifactStub
extends org.apache.maven.plugin.testing.stubs.ArtifactStub
Constructor and Description |
---|
ArtifactStub() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.artifact.handler.ArtifactHandler |
getArtifactHandler() |
String |
getArtifactId() |
File |
getFile() |
String |
getGroupId() |
String |
getType() |
String |
getVersion() |
org.apache.maven.artifact.versioning.VersionRange |
getVersionRange() |
void |
setArtifactId(String artifactId) |
void |
setFile(File file) |
void |
setGroupId(String groupId) |
void |
setVersion(String version) |
void |
setVersionRange(org.apache.maven.artifact.versioning.VersionRange versionRange) |
addMetadata, compareTo, getAvailableVersions, getBaseVersion, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getId, getMetadataList, getRepository, getScope, getSelectedVersion, hasClassifier, isOptional, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setOptional, setRelease, setRepository, setResolved, setResolvedVersion, setScope, setType, toString, updateVersion
public void setFile(File file)
setFile
in interface org.apache.maven.artifact.Artifact
setFile
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public void setGroupId(String groupId)
setGroupId
in interface org.apache.maven.artifact.Artifact
setGroupId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getType()
getType
in interface org.apache.maven.artifact.Artifact
getType
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getGroupId()
getGroupId
in interface org.apache.maven.artifact.Artifact
getGroupId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public void setArtifactId(String artifactId)
setArtifactId
in interface org.apache.maven.artifact.Artifact
setArtifactId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getArtifactId()
getArtifactId
in interface org.apache.maven.artifact.Artifact
getArtifactId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public org.apache.maven.artifact.versioning.VersionRange getVersionRange()
getVersionRange
in interface org.apache.maven.artifact.Artifact
getVersionRange
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public void setVersionRange(org.apache.maven.artifact.versioning.VersionRange versionRange)
setVersionRange
in interface org.apache.maven.artifact.Artifact
setVersionRange
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public org.apache.maven.artifact.handler.ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface org.apache.maven.artifact.Artifact
getArtifactHandler
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public File getFile()
getFile
in interface org.apache.maven.artifact.Artifact
getFile
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getVersion()
getVersion
in interface org.apache.maven.artifact.Artifact
getVersion
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public void setVersion(String version)
setVersion
in interface org.apache.maven.artifact.Artifact
setVersion
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
Copyright © 2005–2015 Codehaus. All rights reserved.