org.apache.maven.plugin.war.stub
Class MarArtifactStub

java.lang.Object
  extended by org.apache.maven.plugin.testing.stubs.ArtifactStub
      extended by org.apache.maven.plugin.war.stub.AbstractArtifactStub
          extended by org.apache.maven.plugin.war.stub.MarArtifactStub
All Implemented Interfaces:
Comparable, Artifact

public class MarArtifactStub
extends AbstractArtifactStub

Author:
Stephane Nicoll

Field Summary
protected  String groupId
           
 
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
MarArtifactStub(String basedir, ArtifactHandler artifactHandler)
           
 
Method Summary
 ArtifactHandler getArtifactHandler()
           
 String getArtifactId()
           
 File getFile()
           
 String getGroupId()
           
 String getType()
           
 void setGroupId(String id)
           
 
Methods inherited from class org.apache.maven.plugin.war.stub.AbstractArtifactStub
compareTo, equals, getBaseVersion, getScope, getVersion, getVersionRange, isOptional
 
Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub
addMetadata, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getId, getMetadataList, getRepository, getSelectedVersion, hasClassifier, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setArtifactId, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setOptional, setRelease, setRepository, setResolved, setResolvedVersion, setScope, setType, setVersion, setVersionRange, toString, updateVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

groupId

protected String groupId
Constructor Detail

MarArtifactStub

public MarArtifactStub(String basedir,
                       ArtifactHandler artifactHandler)
Method Detail

setGroupId

public void setGroupId(String id)
Specified by:
setGroupId in interface Artifact
Overrides:
setGroupId in class ArtifactStub

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface Artifact
Overrides:
getGroupId in class ArtifactStub

getType

public String getType()
Specified by:
getType in interface Artifact
Overrides:
getType in class ArtifactStub

getArtifactId

public String getArtifactId()
Specified by:
getArtifactId in interface Artifact
Overrides:
getArtifactId in class ArtifactStub

getFile

public File getFile()
Specified by:
getFile in interface Artifact
Overrides:
getFile in class ArtifactStub

getArtifactHandler

public ArtifactHandler getArtifactHandler()
Specified by:
getArtifactHandler in interface Artifact
Overrides:
getArtifactHandler in class AbstractArtifactStub


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.