org.apache.maven.plugin.war.stub
Class JarArtifactStub
java.lang.Object
org.apache.maven.plugin.testing.stubs.ArtifactStub
org.apache.maven.plugin.war.stub.AbstractArtifactStub
org.apache.maven.plugin.war.stub.JarArtifactStub
- All Implemented Interfaces:
- Comparable, Artifact
public class JarArtifactStub
- extends AbstractArtifactStub
| Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub |
addMetadata, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getId, getMetadataList, getRepository, getSelectedVersion, hasClassifier, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setRelease, setRepository, setResolved, setResolvedVersion, setType, setVersionRange, toString, updateVersion |
groupId
protected String groupId
artifactId
protected String artifactId
version
protected String version
optional
protected boolean optional
scope
protected String scope
JarArtifactStub
public JarArtifactStub(String basedir,
ArtifactHandler artifactHandler)
setGroupId
public void setGroupId(String id)
- Specified by:
setGroupId in interface Artifact- Overrides:
setGroupId in class ArtifactStub
getGroupId
public String getGroupId()
- Specified by:
getGroupId in interface Artifact- Overrides:
getGroupId in class ArtifactStub
getType
public String getType()
- Specified by:
getType in interface Artifact- Overrides:
getType in class ArtifactStub
setArtifactId
public void setArtifactId(String artifactId)
- Specified by:
setArtifactId in interface Artifact- Overrides:
setArtifactId in class ArtifactStub
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId in interface Artifact- Overrides:
getArtifactId in class ArtifactStub
getVersion
public String getVersion()
- Specified by:
getVersion in interface Artifact- Overrides:
getVersion in class AbstractArtifactStub
setVersion
public void setVersion(String version)
- Specified by:
setVersion in interface Artifact- Overrides:
setVersion in class ArtifactStub
isOptional
public boolean isOptional()
- Specified by:
isOptional in interface Artifact- Overrides:
isOptional in class AbstractArtifactStub
setOptional
public void setOptional(boolean optional)
- Specified by:
setOptional in interface Artifact- Overrides:
setOptional in class ArtifactStub
getScope
public String getScope()
- Specified by:
getScope in interface Artifact- Overrides:
getScope in class AbstractArtifactStub
setScope
public void setScope(String scope)
- Specified by:
setScope in interface Artifact- Overrides:
setScope in class ArtifactStub
getFile
public File getFile()
- Specified by:
getFile in interface Artifact- Overrides:
getFile in class ArtifactStub
getArtifactHandler
public ArtifactHandler getArtifactHandler()
- Specified by:
getArtifactHandler in interface Artifact- Overrides:
getArtifactHandler in class AbstractArtifactStub
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.