public class JarArtifactStub extends AbstractArtifactStub
| Modifier and Type | Field and Description |
|---|---|
protected String |
artifactId |
protected String |
groupId |
protected boolean |
optional |
protected String |
scope |
protected String |
version |
basedirLATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_IMPORT, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN| Constructor and Description |
|---|
JarArtifactStub(String basedir,
ArtifactHandler artifactHandler) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactHandler |
getArtifactHandler() |
String |
getArtifactId() |
File |
getFile() |
String |
getGroupId() |
String |
getScope() |
String |
getType() |
String |
getVersion() |
boolean |
isOptional() |
void |
setArtifactId(String artifactId) |
void |
setGroupId(String id) |
void |
setOptional(boolean optional) |
void |
setScope(String scope) |
void |
setVersion(String version) |
compareTo, equals, getBaseVersion, getVersionRangeaddMetadata, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getId, getMetadata, getMetadataList, getRepository, getSelectedVersion, hasClassifier, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setRelease, setRepository, setResolved, setResolvedVersion, setType, setVersionRange, toString, updateVersionprotected String groupId
protected String artifactId
protected String version
protected boolean optional
protected String scope
public JarArtifactStub(String basedir, ArtifactHandler artifactHandler)
public void setGroupId(String id)
setGroupId in interface ArtifactsetGroupId in class ArtifactStubpublic String getGroupId()
getGroupId in interface ArtifactgetGroupId in class ArtifactStubpublic String getType()
getType in interface ArtifactgetType in class ArtifactStubpublic void setArtifactId(String artifactId)
setArtifactId in interface ArtifactsetArtifactId in class ArtifactStubpublic String getArtifactId()
getArtifactId in interface ArtifactgetArtifactId in class ArtifactStubpublic String getVersion()
getVersion in interface ArtifactgetVersion in class AbstractArtifactStubpublic void setVersion(String version)
setVersion in interface ArtifactsetVersion in class ArtifactStubpublic boolean isOptional()
isOptional in interface ArtifactisOptional in class AbstractArtifactStubpublic void setOptional(boolean optional)
setOptional in interface ArtifactsetOptional in class ArtifactStubpublic String getScope()
getScope in interface ArtifactgetScope in class AbstractArtifactStubpublic void setScope(String scope)
setScope in interface ArtifactsetScope in class ArtifactStubpublic File getFile()
getFile in interface ArtifactgetFile in class ArtifactStubpublic ArtifactHandler getArtifactHandler()
getArtifactHandler in interface ArtifactgetArtifactHandler in class AbstractArtifactStubCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.