org.apache.maven.plugin.war.stub
Class AbstractArtifactStub
java.lang.Object
org.apache.maven.plugin.testing.stubs.ArtifactStub
org.apache.maven.plugin.war.stub.AbstractArtifactStub
- All Implemented Interfaces:
- Comparable, Artifact
- Direct Known Subclasses:
- AarArtifactStub, EJBArtifactStub, EJBArtifactStubWithClassifier, EJBClientArtifactStub, JarArtifactStub, MarArtifactStub, PARArtifactStub, TLDArtifactStub, WarArtifactStub, WarOverlayStub, XarArtifactStub, ZipArtifactStub
public abstract class AbstractArtifactStub
- extends ArtifactStub
Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub |
addMetadata, getArtifactId, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getFile, getGroupId, getId, getMetadataList, getRepository, getSelectedVersion, getType, hasClassifier, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setArtifactId, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setGroupId, setOptional, setRelease, setRepository, setResolved, setResolvedVersion, setScope, setType, setVersion, setVersionRange, toString, updateVersion |
basedir
protected String basedir
AbstractArtifactStub
public AbstractArtifactStub(String _basedir)
getVersion
public String getVersion()
- Specified by:
getVersion
in interface Artifact
- Overrides:
getVersion
in class ArtifactStub
getBaseVersion
public String getBaseVersion()
- Specified by:
getBaseVersion
in interface Artifact
- Overrides:
getBaseVersion
in class ArtifactStub
getScope
public String getScope()
- Specified by:
getScope
in interface Artifact
- Overrides:
getScope
in class ArtifactStub
getVersionRange
public VersionRange getVersionRange()
- Specified by:
getVersionRange
in interface Artifact
- Overrides:
getVersionRange
in class ArtifactStub
isOptional
public boolean isOptional()
- Specified by:
isOptional
in interface Artifact
- Overrides:
isOptional
in class ArtifactStub
getArtifactHandler
public ArtifactHandler getArtifactHandler()
- Specified by:
getArtifactHandler
in interface Artifact
- Overrides:
getArtifactHandler
in class ArtifactStub
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
- Overrides:
compareTo
in class ArtifactStub
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.