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

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.WarArtifactStub
All Implemented Interfaces:
Comparable, org.apache.maven.artifact.Artifact
Direct Known Subclasses:
IncludeExcludeWarArtifactStub, WarArtifact4CCStub

public class WarArtifactStub
extends AbstractArtifactStub

Stub


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
WarArtifactStub(String _basedir)
           
 
Method Summary
 String getArtifactId()
           
 String getClassifier()
           
 File getFile()
           
 String getGroupId()
           
 String getType()
           
 boolean hasClassifier()
           
 void setArtifactId(String _artifactId)
           
 void setClassifier(String classifier)
           
 void setFile(File _file)
           
 void setGroupId(String groupId)
           
 
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, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getId, getMetadataList, getRepository, getSelectedVersion, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, 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

WarArtifactStub

public WarArtifactStub(String _basedir)
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

setArtifactId

public void setArtifactId(String _artifactId)
Specified by:
setArtifactId in interface org.apache.maven.artifact.Artifact
Overrides:
setArtifactId 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

setGroupId

public void setGroupId(String groupId)
Specified by:
setGroupId in interface org.apache.maven.artifact.Artifact
Overrides:
setGroupId 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

setFile

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

getClassifier

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

setClassifier

public void setClassifier(String classifier)

hasClassifier

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


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