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

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

public class MavenProjectBuildStub
extends MavenProjectBasicStub

Stub


Field Summary
protected  Build build
           
protected  String buildDirectory
           
protected  HashMap<String,String> dataMap
           
protected  ArrayList<String> directoryList
           
static int OUTPUT_FILE
           
protected  String outputDirectory
           
static int RESOURCES_FILE
           
protected  String resourcesDirectory
           
protected  ArrayList<String> resourcesFileList
           
static int ROOT_FILE
           
protected  ArrayList<String> rootFileList
           
static int SOURCE_FILE
           
protected  ArrayList<String> sourceFileList
           
protected  String srcDirectory
           
protected  ArrayList<String> targetClassesList
           
protected  String targetDirectory
           
protected  String targetResourceDirectory
           
protected  String targetTestResourcesDirectory
           
protected  String testOutputDirectory
           
protected  String testResourcesDirectory
           
 
Fields inherited from class org.apache.maven.plugin.resources.remote.stub.MavenProjectBasicStub
artifact, description, file, identifier, modelStub, 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, int type)
           
 void addFile(String name, String data, int type)
           
 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.remote.stub.MavenProjectBasicStub
addProperty, getArtifact, getArtifactId, getBasedir, getDescription, getGroupId, getName, getPackaging, getProperties, getVersion, setDescription
 
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, 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

RESOURCES_FILE

public static final int RESOURCES_FILE
See Also:
Constant Field Values

ROOT_FILE

public static final int ROOT_FILE
See Also:
Constant Field Values

OUTPUT_FILE

public static final int OUTPUT_FILE
See Also:
Constant Field Values

SOURCE_FILE

public static final int SOURCE_FILE
See Also:
Constant Field Values

build

protected Build build

srcDirectory

protected String srcDirectory

targetDirectory

protected String targetDirectory

buildDirectory

protected String buildDirectory

outputDirectory

protected String outputDirectory

testOutputDirectory

protected String testOutputDirectory

resourcesDirectory

protected String resourcesDirectory

testResourcesDirectory

protected String testResourcesDirectory

targetResourceDirectory

protected String targetResourceDirectory

targetTestResourcesDirectory

protected String targetTestResourcesDirectory

targetClassesList

protected ArrayList<String> targetClassesList

sourceFileList

protected ArrayList<String> sourceFileList

resourcesFileList

protected ArrayList<String> resourcesFileList

rootFileList

protected ArrayList<String> rootFileList

directoryList

protected ArrayList<String> directoryList

dataMap

protected HashMap<String,String> dataMap
Constructor Detail

MavenProjectBuildStub

public MavenProjectBuildStub(String key)
                      throws Exception
Throws:
Exception
Method Detail

addDirectory

public void addDirectory(String name)

setOutputDirectory

public void setOutputDirectory(String dir)

addFile

public void addFile(String name,
                    int type)

addFile

public void addFile(String name,
                    String data,
                    int type)

getOutputDirectory

public String getOutputDirectory()

getTestOutputDirectory

public String getTestOutputDirectory()

getResourcesDirectory

public String getResourcesDirectory()

getTestResourcesDirectory

public String getTestResourcesDirectory()

getBuild

public Build getBuild()
Overrides:
getBuild in class MavenProject

setupBuildEnvironment

public void setupBuildEnvironment()
                           throws Exception
Throws:
Exception


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