org.apache.maven.plugin.rar.stubs
Class RarArtifactStub

java.lang.Object
  extended by org.apache.maven.plugin.testing.stubs.ArtifactStub
      extended by org.apache.maven.plugin.rar.stubs.RarArtifactStub
All Implemented Interfaces:
Comparable, Artifact

public class RarArtifactStub
extends ArtifactStub

Author:
Allan Ramirez

Field Summary
 
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
RarArtifactStub()
           
 
Method Summary
 ArtifactHandler getArtifactHandler()
           
 String getArtifactId()
           
 String getBaseVersion()
           
 File getFile()
           
 String getGroupId()
           
 String getId()
           
 String getScope()
           
 String getType()
           
 String getVersion()
           
 VersionRange getVersionRange()
           
 boolean isOptional()
           
 void setArtifactId(String artifactId)
           
 void setFile(File file)
           
 void setGroupId(String groupId)
           
 void setOptional(boolean optional)
           
 void setScope(String scope)
           
 void setVersion(String version)
           
 
Methods inherited from class org.apache.maven.plugin.testing.stubs.ArtifactStub
addMetadata, compareTo, getAvailableVersions, getClassifier, getDependencyConflictId, getDependencyFilter, getDependencyTrail, getDownloadUrl, getMetadataList, getRepository, getSelectedVersion, hasClassifier, isRelease, isResolved, isSelectedVersionKnown, isSnapshot, selectVersion, setArtifactHandler, setAvailableVersions, setBaseVersion, setDependencyFilter, setDependencyTrail, setDownloadUrl, setRelease, setRepository, setResolved, setResolvedVersion, setType, setVersionRange, toString, updateVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RarArtifactStub

public RarArtifactStub()
Method Detail

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

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

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

isOptional

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

setOptional

public void setOptional(boolean optional)
Specified by:
setOptional in interface Artifact
Overrides:
setOptional in class ArtifactStub

getScope

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

setScope

public void setScope(String scope)
Specified by:
setScope in interface Artifact
Overrides:
setScope in class ArtifactStub

getVersion

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

setVersion

public void setVersion(String version)
Specified by:
setVersion in interface Artifact
Overrides:
setVersion in class ArtifactStub

getId

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

getBaseVersion

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

getVersionRange

public VersionRange getVersionRange()
Specified by:
getVersionRange in interface Artifact
Overrides:
getVersionRange in class ArtifactStub

getArtifactHandler

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

getType

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


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