public abstract class AbstractSourcesGenerationProjectConfigurator extends AbstractProjectConfigurator implements IJavaProjectConfigurator
AbstractBuildParticipant#getBuildContext()}
ATTR_CLASS, ATTR_ID, ATTR_NAME, markerManager, maven, mavenConfiguration, projectManager
Constructor and Description |
---|
AbstractSourcesGenerationProjectConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(ProjectConfigurationRequest request,
org.eclipse.core.runtime.IProgressMonitor monitor)
Configures Eclipse project passed in ProjectConfigurationRequest, using information from Maven project and other
configuration request parameters
|
void |
configureClasspath(IMavenProjectFacade facade,
IClasspathDescriptor classpath,
org.eclipse.core.runtime.IProgressMonitor monitor)
Configures *Maven* project classpath, i.e.
|
void |
configureRawClasspath(ProjectConfigurationRequest request,
IClasspathDescriptor classpath,
org.eclipse.core.runtime.IProgressMonitor monitor)
Configures *JDT* project classpath, i.e.
|
protected org.eclipse.core.runtime.IPath |
getFullPath(IMavenProjectFacade facade,
File file) |
protected String |
getOutputFolderParameterName() |
protected File[] |
getSourceFolders(ProjectConfigurationRequest request,
org.apache.maven.plugin.MojoExecution mojoExecution,
org.eclipse.core.runtime.IProgressMonitor monitor) |
addNature, addNature, assertHasNature, equals, getBuildParticipant, getConfiguratorExecutions, getId, getMojoExecutions, getName, getParameterValue, getParameterValue, hasConfigurationChanged, hashCode, mavenProjectChanged, mavenProjectChanged, setInitializationData, setMarkerManager, setMavenConfiguration, setProjectManager, toString, unconfigure
public AbstractSourcesGenerationProjectConfigurator()
public void configure(ProjectConfigurationRequest request, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
AbstractProjectConfigurator
Should be implemented by subclass
configure
in class AbstractProjectConfigurator
request
- a project configuration requestmonitor
- a progress monitororg.eclipse.core.runtime.CoreException
public void configureClasspath(IMavenProjectFacade facade, IClasspathDescriptor classpath, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IJavaProjectConfigurator
configureClasspath
in interface IJavaProjectConfigurator
org.eclipse.core.runtime.CoreException
public void configureRawClasspath(ProjectConfigurationRequest request, IClasspathDescriptor classpath, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IJavaProjectConfigurator
configureRawClasspath
in interface IJavaProjectConfigurator
org.eclipse.core.runtime.CoreException
protected org.eclipse.core.runtime.IPath getFullPath(IMavenProjectFacade facade, File file)
protected File[] getSourceFolders(ProjectConfigurationRequest request, org.apache.maven.plugin.MojoExecution mojoExecution, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected String getOutputFolderParameterName()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.