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 |
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 |
---|
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, getVersionRange
addMetadata, 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, updateVersion
protected 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 Artifact
setGroupId
in class ArtifactStub
public String getGroupId()
getGroupId
in interface Artifact
getGroupId
in class ArtifactStub
public String getType()
getType
in interface Artifact
getType
in class ArtifactStub
public void setArtifactId(String artifactId)
setArtifactId
in interface Artifact
setArtifactId
in class ArtifactStub
public String getArtifactId()
getArtifactId
in interface Artifact
getArtifactId
in class ArtifactStub
public String getVersion()
getVersion
in interface Artifact
getVersion
in class AbstractArtifactStub
public void setVersion(String version)
setVersion
in interface Artifact
setVersion
in class ArtifactStub
public boolean isOptional()
isOptional
in interface Artifact
isOptional
in class AbstractArtifactStub
public void setOptional(boolean optional)
setOptional
in interface Artifact
setOptional
in class ArtifactStub
public String getScope()
getScope
in interface Artifact
getScope
in class AbstractArtifactStub
public void setScope(String scope)
setScope
in interface Artifact
setScope
in class ArtifactStub
public File getFile()
getFile
in interface Artifact
getFile
in class ArtifactStub
public ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface Artifact
getArtifactHandler
in class AbstractArtifactStub
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.