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

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

public class ZipArtifactStub
extends AbstractArtifactStub

Since:
8 juin 07
Version:
$Id: ZipArtifactStub.java 985726 2010-08-15 18:13:26Z bentmann $
Author:
olamy

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
ZipArtifactStub(String basedir, org.apache.maven.artifact.handler.ArtifactHandler artifactHandler, File zipFile)
           
 
Method Summary
 org.apache.maven.artifact.handler.ArtifactHandler getArtifactHandler()
           
 String getArtifactId()
           
 File getFile()
           
 String getGroupId()
           
 String getId()
           
 String getScope()
           
 String getType()
           
 String getVersion()
           
 boolean isOptional()
           
 
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, 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

ZipArtifactStub

public ZipArtifactStub(String basedir,
                       org.apache.maven.artifact.handler.ArtifactHandler artifactHandler,
                       File zipFile)
Method Detail

getId

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

getArtifactHandler

public org.apache.maven.artifact.handler.ArtifactHandler getArtifactHandler()
Specified by:
getArtifactHandler in interface org.apache.maven.artifact.Artifact
Overrides:
getArtifactHandler in class AbstractArtifactStub

getScope

public String getScope()
Specified by:
getScope in interface org.apache.maven.artifact.Artifact
Overrides:
getScope in class AbstractArtifactStub

getVersion

public String getVersion()
Specified by:
getVersion in interface org.apache.maven.artifact.Artifact
Overrides:
getVersion in class AbstractArtifactStub

isOptional

public boolean isOptional()
Specified by:
isOptional in interface org.apache.maven.artifact.Artifact
Overrides:
isOptional in class AbstractArtifactStub

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

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


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