org.apache.maven.plugin.install.stubs
Class InstallArtifactStub

java.lang.Object
  extended by org.apache.maven.plugin.testing.stubs.ArtifactStub
      extended by org.apache.maven.plugin.install.stubs.InstallArtifactStub
All Implemented Interfaces:
Comparable, org.apache.maven.artifact.Artifact
Direct Known Subclasses:
AttachedArtifactStub0

public class InstallArtifactStub
extends org.apache.maven.plugin.testing.stubs.ArtifactStub


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

Constructor Detail

InstallArtifactStub

public InstallArtifactStub()
Method Detail

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

getVersion

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

getBaseVersion

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

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

getArtifactHandler

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

addMetadata

public void addMetadata(org.apache.maven.artifact.metadata.ArtifactMetadata metadata)
Specified by:
addMetadata in interface org.apache.maven.artifact.Artifact
Overrides:
addMetadata in class org.apache.maven.plugin.testing.stubs.ArtifactStub

getMetadataList

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

isRelease

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

setRelease

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


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