|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.project.MavenProject
org.apache.maven.plugin.testing.stubs.MavenProjectStub
org.apache.maven.plugin.resources.stub.MavenProjectBasicStub
org.apache.maven.plugin.resources.stub.MavenProjectBuildStub
public class MavenProjectBuildStub
Field Summary | |
---|---|
protected org.apache.maven.model.Build |
build
|
protected String |
buildDirectory
|
protected HashMap |
dataMap
|
protected ArrayList |
directoryList
|
protected ArrayList |
fileList
|
protected String |
outputDirectory
|
protected String |
resourcesDirectory
|
protected String |
srcDirectory
|
protected String |
targetDirectory
|
protected String |
targetResourceDirectory
|
protected String |
targetTestResourcesDirectory
|
protected String |
testOutputDirectory
|
protected String |
testResourcesDirectory
|
Fields inherited from class org.apache.maven.plugin.resources.stub.MavenProjectBasicStub |
---|
description, identifier, properties, testRootDir |
Fields inherited from class org.apache.maven.project.MavenProject |
---|
EMPTY_PROJECT_ARTIFACT_ID, EMPTY_PROJECT_GROUP_ID, EMPTY_PROJECT_VERSION |
Constructor Summary | |
---|---|
MavenProjectBuildStub(String key)
|
Method Summary | |
---|---|
void |
addDirectory(String name)
|
void |
addFile(String name)
|
void |
addFile(String name,
String data)
|
void |
cleanBuildEnvironment()
|
org.apache.maven.model.Build |
getBuild()
|
String |
getOutputDirectory()
|
String |
getResourcesDirectory()
|
String |
getTestOutputDirectory()
|
String |
getTestResourcesDirectory()
|
void |
setOutputDirectory(String dir)
|
void |
setupBuildEnvironment()
|
Methods inherited from class org.apache.maven.plugin.resources.stub.MavenProjectBasicStub |
---|
addProperty, getArtifactId, getBasedir, getDescription, getGroupId, getName, getPackaging, getProperties, getVersion, setDescription |
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, getArtifact, getArtifactMap, getArtifacts, getAttachedArtifacts, 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, getModel, 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, hasParent, injectPluginManagementInfo, isExecutionRoot, replaceWithActiveArtifact, setActiveProfiles, setArtifact, setArtifactId, setArtifactMap, setArtifacts, setAttachedArtifacts, setBuild, setBuildOverlay, setCiManagement, setCollectedProjects, setCompileArtifacts, setCompileDependencies, setCompileSourceRoots, setContributors, setDependencies, setDependencyArtifacts, 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, setTestArtifacts, setTestClasspathElements, setTestCompileSourceRoots, setTestDependencies, setUrl, setVersion, writeModel, writeOriginalModel |
Methods inherited from class org.apache.maven.project.MavenProject |
---|
equals, getManagedVersionMap, hashCode, setManagedVersionMap |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.maven.model.Build build
protected String srcDirectory
protected String targetDirectory
protected String buildDirectory
protected String outputDirectory
protected String testOutputDirectory
protected String resourcesDirectory
protected String testResourcesDirectory
protected String targetResourceDirectory
protected String targetTestResourcesDirectory
protected ArrayList fileList
protected ArrayList directoryList
protected HashMap dataMap
Constructor Detail |
---|
public MavenProjectBuildStub(String key) throws Exception
Exception
Method Detail |
---|
public void addDirectory(String name)
public void setOutputDirectory(String dir)
public void addFile(String name)
public void addFile(String name, String data)
public String getOutputDirectory()
public String getTestOutputDirectory()
public String getResourcesDirectory()
public String getTestResourcesDirectory()
public org.apache.maven.model.Build getBuild()
getBuild
in class org.apache.maven.plugin.testing.stubs.MavenProjectStub
public void cleanBuildEnvironment() throws Exception
Exception
public void setupBuildEnvironment() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |