public abstract class AbstractArtifactStub extends ArtifactStub
Modifier and Type | Field and Description |
---|---|
protected String |
basedir |
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN
Constructor and Description |
---|
AbstractArtifactStub(String _basedir) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Artifact o) |
boolean |
equals(Object o) |
ArtifactHandler |
getArtifactHandler() |
String |
getBaseVersion() |
String |
getScope() |
String |
getVersion() |
VersionRange |
getVersionRange() |
boolean |
isOptional() |
addMetadata, getArtifactId, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getFile, getGroupId, getId, getMetadata, 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
protected String basedir
public AbstractArtifactStub(String _basedir)
public String getVersion()
getVersion
in interface Artifact
getVersion
in class ArtifactStub
public String getBaseVersion()
getBaseVersion
in interface Artifact
getBaseVersion
in class ArtifactStub
public String getScope()
getScope
in interface Artifact
getScope
in class ArtifactStub
public VersionRange getVersionRange()
getVersionRange
in interface Artifact
getVersionRange
in class ArtifactStub
public boolean isOptional()
isOptional
in interface Artifact
isOptional
in class ArtifactStub
public ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface Artifact
getArtifactHandler
in class ArtifactStub
public int compareTo(Artifact o)
compareTo
in interface Comparable<Artifact>
compareTo
in class ArtifactStub
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.