|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.testing.stubs.ArtifactStub org.apache.maven.plugin.war.stub.AbstractArtifactStub org.apache.maven.plugin.war.stub.JarArtifactStub
public class JarArtifactStub
Field Summary | |
---|---|
protected String |
artifactId
|
protected String |
groupId
|
protected boolean |
optional
|
protected String |
scope
|
protected String |
version
|
Fields inherited from class org.apache.maven.plugin.war.stub.AbstractArtifactStub |
---|
basedir |
Fields inherited from interface org.apache.maven.artifact.Artifact |
---|
LATEST_VERSION, RELEASE_VERSION, SCOPE_COMPILE, SCOPE_PROVIDED, SCOPE_RUNTIME, SCOPE_SYSTEM, SCOPE_TEST, SNAPSHOT_VERSION, VERSION_FILE_PATTERN |
Constructor Summary | |
---|---|
JarArtifactStub(String basedir,
org.apache.maven.artifact.handler.ArtifactHandler artifactHandler)
|
Method Summary | |
---|---|
org.apache.maven.artifact.handler.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)
|
Methods inherited from class org.apache.maven.plugin.war.stub.AbstractArtifactStub |
---|
compareTo, equals, getVersionRange |
Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub |
---|
addMetadata, getAvailableVersions, getBaseVersion, 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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected String groupId
protected String artifactId
protected String version
protected boolean optional
protected String scope
Constructor Detail |
---|
public JarArtifactStub(String basedir, org.apache.maven.artifact.handler.ArtifactHandler artifactHandler)
Method Detail |
---|
public void setGroupId(String id)
setGroupId
in interface org.apache.maven.artifact.Artifact
setGroupId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getGroupId()
getGroupId
in interface org.apache.maven.artifact.Artifact
getGroupId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getType()
getType
in interface org.apache.maven.artifact.Artifact
getType
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public void setArtifactId(String artifactId)
setArtifactId
in interface org.apache.maven.artifact.Artifact
setArtifactId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getArtifactId()
getArtifactId
in interface org.apache.maven.artifact.Artifact
getArtifactId
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getVersion()
getVersion
in interface org.apache.maven.artifact.Artifact
getVersion
in class AbstractArtifactStub
public void setVersion(String version)
setVersion
in interface org.apache.maven.artifact.Artifact
setVersion
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public boolean isOptional()
isOptional
in interface org.apache.maven.artifact.Artifact
isOptional
in class AbstractArtifactStub
public void setOptional(boolean optional)
setOptional
in interface org.apache.maven.artifact.Artifact
setOptional
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public String getScope()
getScope
in interface org.apache.maven.artifact.Artifact
getScope
in class AbstractArtifactStub
public void setScope(String scope)
setScope
in interface org.apache.maven.artifact.Artifact
setScope
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public File getFile()
getFile
in interface org.apache.maven.artifact.Artifact
getFile
in class org.apache.maven.plugin.testing.stubs.ArtifactStub
public org.apache.maven.artifact.handler.ArtifactHandler getArtifactHandler()
getArtifactHandler
in interface org.apache.maven.artifact.Artifact
getArtifactHandler
in class AbstractArtifactStub
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |