|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.project.MavenProject org.apache.maven.plugin.resources.remote.stub.MavenProjectBasicStub
public class MavenProjectBasicStub
Stub
Field Summary | |
---|---|
protected ArtifactStub |
artifact
|
protected String |
description
|
protected File |
file
|
protected String |
identifier
|
protected ModelStub |
model
|
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)
|
org.apache.maven.artifact.Artifact |
getArtifact()
|
String |
getArtifactId()
|
File |
getBasedir()
|
String |
getDescription()
|
String |
getGroupId()
|
org.apache.maven.model.Model |
getModel()
|
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, createArtifacts, equals, getActiveProfiles, getArtifactMap, getArtifacts, getAttachedArtifacts, getBuild, getBuildExtensions, getBuildPlugins, getCiManagement, getCollectedProjects, getCompileArtifacts, getCompileClasspathElements, getCompileDependencies, getCompileSourceRoots, getContributors, getDefaultGoal, getDependencies, getDependencyArtifacts, getDependencyManagement, getDevelopers, getDistributionManagement, getDistributionManagementArtifactRepository, getExecutionProject, getExtensionArtifactMap, getExtensionArtifacts, getFile, getFilters, getGoalConfiguration, getId, getInceptionYear, getIssueManagement, getLicenses, getMailingLists, getManagedVersionMap, getModelVersion, getModulePathAdjustment, getModules, getOrganization, getOriginalModel, getParent, getParentArtifact, getPluginArtifactMap, getPluginArtifactRepositories, getPluginArtifacts, getPluginManagement, getPluginRepositories, getPrerequisites, getProjectReferences, getRemoteArtifactRepositories, getReportArtifactMap, getReportArtifacts, getReportConfiguration, getReporting, getReportPlugins, getRepositories, getResources, getRuntimeArtifacts, getRuntimeClasspathElements, getRuntimeDependencies, getScm, getScriptSourceRoots, getSystemArtifacts, getSystemClasspathElements, getSystemDependencies, getTestArtifacts, getTestClasspathElements, getTestCompileSourceRoots, getTestDependencies, getTestResources, getUrl, hashCode, hasParent, injectPluginManagementInfo, isExecutionRoot, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactId, setArtifacts, setBuild, setCiManagement, setCollectedProjects, setContributors, setDependencies, setDependencyArtifacts, setDevelopers, setDistributionManagement, setExecutionProject, setExecutionRoot, setExtensionArtifacts, setFile, setGroupId, setInceptionYear, setIssueManagement, setLicenses, setMailingLists, setManagedVersionMap, setModelVersion, setName, setOrganization, setOriginalModel, setPackaging, setParent, setParentArtifact, setPluginArtifactRepositories, setPluginArtifacts, setReleaseArtifactRepository, setRemoteArtifactRepositories, setReportArtifacts, setReporting, setScm, setSnapshotArtifactRepository, setUrl, setVersion, writeModel, writeOriginalModel |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String identifier
protected String testRootDir
protected Properties properties
protected String description
protected ModelStub model
protected File file
protected ArtifactStub artifact
Constructor Detail |
---|
public MavenProjectBasicStub(String id) throws Exception
Exception
Method Detail |
---|
public String getName()
getName
in class org.apache.maven.project.MavenProject
public void setDescription(String desc)
setDescription
in class org.apache.maven.project.MavenProject
public org.apache.maven.model.Model getModel()
getModel
in class org.apache.maven.project.MavenProject
public String getDescription()
getDescription
in class org.apache.maven.project.MavenProject
public File getBasedir()
getBasedir
in class org.apache.maven.project.MavenProject
public org.apache.maven.artifact.Artifact getArtifact()
getArtifact
in class org.apache.maven.project.MavenProject
public String getGroupId()
getGroupId
in class org.apache.maven.project.MavenProject
public String getArtifactId()
getArtifactId
in class org.apache.maven.project.MavenProject
public String getPackaging()
getPackaging
in class org.apache.maven.project.MavenProject
public String getVersion()
getVersion
in class org.apache.maven.project.MavenProject
public void addProperty(String key, String value)
public Properties getProperties()
getProperties
in class org.apache.maven.project.MavenProject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |