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

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.WarOverlayStub
All Implemented Interfaces:
Comparable, org.apache.maven.artifact.Artifact

public class WarOverlayStub
extends AbstractArtifactStub

Author:
Stephane Nicoll

Field Summary
 
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
WarOverlayStub(String _basedir, String artifactId, File warFile)
           
 
Method Summary
 String getArtifactId()
           
 File getFile()
           
 String getGroupId()
           
 String getType()
           
 
Methods inherited from class org.apache.maven.plugin.war.stub.AbstractArtifactStub
compareTo, equals, getArtifactHandler, getScope, getVersion, getVersionRange, isOptional
 
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, setArtifactId, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setFile, setGroupId, 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
 

Constructor Detail

WarOverlayStub

public WarOverlayStub(String _basedir,
                      String artifactId,
                      File warFile)
Method Detail

getType

public String getType()
Specified by:
getType in interface org.apache.maven.artifact.Artifact
Overrides:
getType in class org.apache.maven.plugin.testing.stubs.ArtifactStub

getArtifactId

public String getArtifactId()
Specified by:
getArtifactId in interface org.apache.maven.artifact.Artifact
Overrides:
getArtifactId in class org.apache.maven.plugin.testing.stubs.ArtifactStub

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface org.apache.maven.artifact.Artifact
Overrides:
getGroupId in class org.apache.maven.plugin.testing.stubs.ArtifactStub

getFile

public File getFile()
Specified by:
getFile in interface org.apache.maven.artifact.Artifact
Overrides:
getFile in class org.apache.maven.plugin.testing.stubs.ArtifactStub


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.