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, 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, ArtifactHandler artifactHandler, File zipFile)
           
 
Method Summary
 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,
                       ArtifactHandler artifactHandler,
                       File zipFile)
Method Detail

getId

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

getArtifactHandler

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

getScope

public String getScope()
Specified by:
getScope in interface Artifact
Overrides:
getScope in class AbstractArtifactStub

getVersion

public String getVersion()
Specified by:
getVersion in interface Artifact
Overrides:
getVersion in class AbstractArtifactStub

isOptional

public boolean isOptional()
Specified by:
isOptional in interface Artifact
Overrides:
isOptional in class AbstractArtifactStub

getFile

public File getFile()
Specified by:
getFile in interface Artifact
Overrides:
getFile 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

getGroupId

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


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