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

java.lang.Object
  extended by org.apache.maven.project.MavenProject
      extended by org.apache.maven.plugin.testing.stubs.MavenProjectStub
          extended by org.apache.maven.plugin.idea.stubs.SimpleMavenProjectStub
Direct Known Subclasses:
EarMavenProjectStub, EjbMavenProjectStub, LibraryMavenProjectStub, MavenProjectWithArtifactVersionRangeStub, MavenProjectWithCvsScmConnectionStub, MavenProjectWithModulesStub, MavenProjectWithPerforceScmConnectionStub, MavenProjectWithReactorDepStub, MavenProjectWithScmConnectionStub, MavenProjectWithScmConnectionWithPipeStub, MavenProjectWithScmDevConnectionStub, MavenProjectWithStarTeamScmConnectionStub, MavenProjectWithSvnScmConnectionStub, MavenProjectWithVssScmConnectionStub, WarMavenProjectStub

public class SimpleMavenProjectStub
extends MavenProjectStub

Author:
Edwin Punzalan

Constructor Summary
SimpleMavenProjectStub()
           
 
Method Summary
protected  Artifact createArtifact(String groupId, String artifactId, String version)
           
 Artifact getArtifact()
           
 String getArtifactId()
           
 File getBasedir()
           
 Build getBuild()
           
 List getBuildPlugins()
           
 List getCollectedProjects()
           
 List getCompileSourceRoots()
           
 List getDependencies()
           
 String getGroupId()
           
 List getRemoteArtifactRepositories()
           
 List getTestArtifacts()
           
 List getTestCompileSourceRoots()
           
protected  String getTestId()
           
 String getVersion()
           
 boolean isExecutionRoot()
           
 void setCollectedProjects(List list)
           
 void setTestArtifacts(List artifacts)
           
 
Methods inherited from class org.apache.maven.plugin.testing.stubs.MavenProjectStub
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, createArtifacts, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuildExtensions, getCiManagement, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getContributors, getDefaultGoal, getDependencyArtifacts, getDependencyManagement, getDescription, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getModel, getModelVersion, getModulePathAdjustment, getModules, getName, getOrganization, getOriginalModel, getPackaging, getParent, getParentArtifact, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getProjectReferences, getProperties, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestClasspathElements, getTestDependencies, getTestResources, getUrl, hasParent, injectPluginManagementInfo, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactId, setArtifactMap, setArtifacts, setAttachedArtifacts, setBuild, setBuildOverlay, setCiManagement, setCompileArtifacts, setCompileDependencies, setCompileSourceRoots, setContributors, setDependencies, setDependencyArtifacts, setDescription, setDevelopers, setDistributionManagement, setExecutionProject, setExecutionRoot, setExtensionArtifactMap, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setMailingLists, setModel, setModelVersion, setName, setOrganization, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactMap, setPluginArtifactRepositories, setPluginArtifacts, setProjectReferences, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifactMap, setReportArtifacts, setReporting, setRuntimeArtifacts, setRuntimeClasspathElements, setRuntimeDependencies, setScm, setScriptSourceRoots, setSnapshotArtifactRepository, setSystemArtifacts, setSystemClasspathElements, setSystemDependencies, setTestClasspathElements, setTestCompileSourceRoots, setTestDependencies, setUrl, setVersion, writeModel, writeOriginalModel
 
Methods inherited from class org.apache.maven.project.MavenProject
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMavenProjectStub

public SimpleMavenProjectStub()
Method Detail

getTestId

protected String getTestId()

getGroupId

public String getGroupId()
Overrides:
getGroupId in class MavenProjectStub

getArtifactId

public String getArtifactId()
Overrides:
getArtifactId in class MavenProjectStub

getVersion

public String getVersion()
Overrides:
getVersion in class MavenProjectStub

getBasedir

public File getBasedir()
Overrides:
getBasedir in class MavenProjectStub

getCollectedProjects

public List getCollectedProjects()
Overrides:
getCollectedProjects in class MavenProjectStub

setCollectedProjects

public void setCollectedProjects(List list)
Overrides:
setCollectedProjects in class MavenProjectStub

isExecutionRoot

public boolean isExecutionRoot()
Overrides:
isExecutionRoot in class MavenProjectStub

getDependencies

public List getDependencies()
Overrides:
getDependencies in class MavenProjectStub

getArtifact

public Artifact getArtifact()
Overrides:
getArtifact in class MavenProjectStub

getBuild

public Build getBuild()
Overrides:
getBuild in class MavenProjectStub

getRemoteArtifactRepositories

public List getRemoteArtifactRepositories()
Overrides:
getRemoteArtifactRepositories in class MavenProjectStub

getCompileSourceRoots

public List getCompileSourceRoots()
Overrides:
getCompileSourceRoots in class MavenProjectStub

getTestArtifacts

public List getTestArtifacts()
Overrides:
getTestArtifacts in class MavenProjectStub

setTestArtifacts

public void setTestArtifacts(List artifacts)
Overrides:
setTestArtifacts in class MavenProjectStub

getTestCompileSourceRoots

public List getTestCompileSourceRoots()
Overrides:
getTestCompileSourceRoots in class MavenProjectStub

createArtifact

protected Artifact createArtifact(String groupId,
                                  String artifactId,
                                  String version)

getBuildPlugins

public List getBuildPlugins()
Overrides:
getBuildPlugins in class MavenProjectStub


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