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, 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, getBaseVersion, getScope, getVersion, getVersionRange, isOptional
 
Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub
addMetadata, getAvailableVersions, 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 Artifact
Overrides:
getType in class ArtifactStub

getArtifactId

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

setArtifactId

public void setArtifactId(String _artifactId)
Specified by:
setArtifactId in interface Artifact
Overrides:
setArtifactId in class ArtifactStub

getGroupId

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

setGroupId

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

getFile

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

setFile

public void setFile(File _file)
Specified by:
setFile in interface Artifact
Overrides:
setFile in class ArtifactStub

getClassifier

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

setClassifier

public void setClassifier(String classifier)

hasClassifier

public boolean hasClassifier()
Specified by:
hasClassifier in interface Artifact
Overrides:
hasClassifier in class ArtifactStub


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