org.apache.maven.plugin.idea.stubs
Class IdeaArtifactStub

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

public class IdeaArtifactStub
extends ArtifactStub

Author:
Edwin Punzalan

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

Constructor Detail

IdeaArtifactStub

public IdeaArtifactStub()
Method Detail

setGroupId

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

getGroupId

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

setArtifactId

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

getArtifactId

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

setVersion

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

getVersion

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

getType

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

getSelectedVersion

public ArtifactVersion getSelectedVersion()
                                   throws OverConstrainedVersionException
Specified by:
getSelectedVersion in interface Artifact
Overrides:
getSelectedVersion in class ArtifactStub
Throws:
OverConstrainedVersionException

getId

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

setScope

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

getScope

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


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