public class DefaultClasspathManagerDelegate extends java.lang.Object implements IClasspathManagerDelegate
Modifier and Type | Class and Description |
---|---|
(package private) static class |
DefaultClasspathManagerDelegate.ProjectTestAttributes |
Modifier and Type | Field and Description |
---|---|
private IProjectConfigurationManager |
configurationManager |
private IMavenProjectRegistry |
projectManager |
Constructor and Description |
---|
DefaultClasspathManagerDelegate() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addClasspathEntries(IClasspathDescriptor classpath,
IMavenProjectFacade facade,
int kind,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private IClasspathEntryDescriptor |
findClasspathDescriptor(IClasspathDescriptor classpath,
org.eclipse.core.runtime.IPath p) |
private java.util.List<IJavaProjectConfigurator> |
getJavaProjectConfigurators(IMavenProjectFacade projectFacade,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private boolean |
isOnlyVisibleByTests(org.apache.maven.artifact.Artifact a) |
private boolean |
isTestArtifact(org.apache.maven.artifact.Artifact a) |
void |
populateClasspath(IClasspathDescriptor classpath,
IMavenProjectFacade projectFacade,
int kind,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private final IProjectConfigurationManager configurationManager
private final IMavenProjectRegistry projectManager
public void populateClasspath(IClasspathDescriptor classpath, IMavenProjectFacade projectFacade, int kind, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
populateClasspath
in interface IClasspathManagerDelegate
org.eclipse.core.runtime.CoreException
private java.util.List<IJavaProjectConfigurator> getJavaProjectConfigurators(IMavenProjectFacade projectFacade, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
void addClasspathEntries(IClasspathDescriptor classpath, IMavenProjectFacade facade, int kind, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
private boolean isOnlyVisibleByTests(org.apache.maven.artifact.Artifact a)
private boolean isTestArtifact(org.apache.maven.artifact.Artifact a)
private IClasspathEntryDescriptor findClasspathDescriptor(IClasspathDescriptor classpath, org.eclipse.core.runtime.IPath p)