org.apache.maven.plugin.resources.remote.stub
Class MavenProjectBasicStub

java.lang.Object
  extended by org.apache.maven.project.MavenProject
      extended by org.apache.maven.plugin.resources.remote.stub.MavenProjectBasicStub
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
MavenProjectBuildStub

public class MavenProjectBasicStub
extends MavenProject

Stub


Field Summary
protected  ArtifactStub artifact
           
protected  String description
           
protected  File file
           
protected  String identifier
           
protected  ModelStub modelStub
           
protected  Properties properties
           
protected  String testRootDir
           
 
Fields inherited from class org.apache.maven.project.MavenProject
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION
 
Constructor Summary
MavenProjectBasicStub(String id)
           
 
Method Summary
 void addProperty(String key, String value)
           
 Artifact getArtifact()
           
 String getArtifactId()
           
 File getBasedir()
           
 String getDescription()
           
 String getGroupId()
           
 String getName()
           
 String getPackaging()
           
 Properties getProperties()
           
 String getVersion()
           
 void setDescription(String desc)
           
 
Methods inherited from class org.apache.maven.project.MavenProject
addAttachedArtifact, addCompileSourceRoot, addContributor, addDeveloper, addLicense, addMailingList, addPlugin, addProjectReference, addResource, addScriptSourceRoot, addTestCompileSourceRoot, addTestResource, attachArtifact, clearRestorableBuild, clearRestorableRoots, clone, createArtifacts, equals, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuild, getBuildExtensions, getBuildPlugins, getCiManagement, getCollectedProjects, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getCompileSourceRoots, getContributors, getDefaultGoal, getDependencies, getDependencyArtifacts, getDependencyManagement, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getDynamicBuild, getDynamicCompileSourceRoots, getDynamicScriptSourceRoots, getDynamicTestCompileSourceRoots, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getManagedVersionMap, getModel, getModelVersion, getModulePathAdjustment, getModules, getOrganization, getOriginalInterpolatedBuild, getOriginalInterpolatedCompileSourceRoots, getOriginalInterpolatedScriptSourceRoots, getOriginalInterpolatedTestCompileSourceRoots, getOriginalModel, getParent, getParentArtifact, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getPreservedBasedir, getPreservedProperties, getProjectBuilderConfiguration, getProjectReferenceId, getProjectReferences, getReleaseArtifactRepository, getRemoteArtifactRepositories, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSnapshotArtifactRepository, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestArtifacts, getTestClasspathElements, getTestCompileSourceRoots, getTestDependencies, getTestResources, getUrl, hashCode, hasParent, injectPluginManagementInfo, isConcrete, isExecutionRoot, preserveBasedir, preserveBuild, preserveCompileSourceRoots, preserveProperties, preserveScriptSourceRoots, preserveTestCompileSourceRoots, replaceWithActiveArtifact, resolveActiveArtifacts, setActiveProfiles, setArtifact, setArtifactId, setArtifacts, setAttachedArtifacts, setBasedir, setBuild, setCiManagement, setCollectedProjects, setCompileSourceRoots, setConcrete, setContributors, setDependencies, setDependencyArtifacts, setDevelopers, setDistributionManagement, setDynamicBuild, setDynamicCompileSourceRoots, setDynamicScriptSourceRoots, setDynamicTestCompileSourceRoots, setExecutionProject, setExecutionRoot, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setLogger, setMailingLists, setManagedVersionMap, setModel, setModelVersion, setName, setOrganization, setOriginalInterpolatedBuild, setOriginalInterpolatedCompileSourceRoots, setOriginalInterpolatedScriptSourceRoots, setOriginalInterpolatedTestCompileSourceRoots, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactRepositories, setPluginArtifacts, setProjectBuilderConfiguration, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifacts, setReporting, setScm, setScriptSourceRoots, setSnapshotArtifactRepository, setTestCompileSourceRoots, setUrl, setVersion, toString, writeModel, writeOriginalModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

protected String identifier

testRootDir

protected String testRootDir

properties

protected Properties properties

description

protected String description

modelStub

protected ModelStub modelStub

file

protected File file

artifact

protected ArtifactStub artifact
Constructor Detail

MavenProjectBasicStub

public MavenProjectBasicStub(String id)
                      throws Exception
Throws:
Exception
Method Detail

getName

public String getName()
Overrides:
getName in class MavenProject

setDescription

public void setDescription(String desc)
Overrides:
setDescription in class MavenProject

getDescription

public String getDescription()
Overrides:
getDescription in class MavenProject

getBasedir

public File getBasedir()
Overrides:
getBasedir in class MavenProject

getArtifact

public Artifact getArtifact()
Overrides:
getArtifact in class MavenProject

getGroupId

public String getGroupId()
Overrides:
getGroupId in class MavenProject

getArtifactId

public String getArtifactId()
Overrides:
getArtifactId in class MavenProject

getPackaging

public String getPackaging()
Overrides:
getPackaging in class MavenProject

getVersion

public String getVersion()
Overrides:
getVersion in class MavenProject

addProperty

public void addProperty(String key,
                        String value)

getProperties

public Properties getProperties()
Overrides:
getProperties in class MavenProject


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.