public class MavenRuntimeClasspathProvider
extends org.eclipse.jdt.launching.StandardClasspathProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JDT_JAVA_APPLICATION |
static java.lang.String |
JDT_JUNIT_TEST |
static java.lang.String |
JDT_TESTNG_TEST |
static java.lang.String |
MAVEN_CLASSPATH_PROVIDER |
static java.lang.String |
MAVEN_SOURCEPATH_PROVIDER |
(package private) IMavenProjectRegistry |
projectManager |
private static java.util.Set<java.lang.String> |
supportedTypes |
private static java.lang.String |
TESTS_PROJECT_CLASSIFIER |
private static java.lang.String |
THIS_PROJECT_CLASSIFIER |
Constructor and Description |
---|
MavenRuntimeClasspathProvider() |
Modifier and Type | Method and Description |
---|---|
private void |
addMavenClasspathEntries(java.util.Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> resolved,
org.eclipse.jdt.launching.IRuntimeClasspathEntry runtimeClasspathEntry,
org.eclipse.debug.core.ILaunchConfiguration configuration,
int scope,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
addProjectEntries(java.util.Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> resolved,
org.eclipse.core.runtime.IPath path,
int scope,
java.lang.String classifier,
org.eclipse.debug.core.ILaunchConfiguration launchConfiguration,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private void |
addStandardClasspathEntries(java.util.Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> all,
org.eclipse.jdt.launching.IRuntimeClasspathEntry entry,
org.eclipse.debug.core.ILaunchConfiguration configuration) |
org.eclipse.jdt.launching.IRuntimeClasspathEntry[] |
computeUnresolvedClasspath(org.eclipse.debug.core.ILaunchConfiguration configuration) |
static void |
disable(org.eclipse.debug.core.ILaunchConfiguration config) |
static void |
disable(org.eclipse.core.resources.IProject project) |
static void |
enable(org.eclipse.debug.core.ILaunchConfiguration config) |
private static void |
enable(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc) |
static void |
enable(org.eclipse.core.resources.IProject project) |
private static java.lang.String |
getArtifactClassifier(org.eclipse.jdt.core.IClasspathEntry entry) |
protected int |
getArtifactScope(org.eclipse.debug.core.ILaunchConfiguration configuration) |
private static java.util.List<org.eclipse.debug.core.ILaunchConfiguration> |
getLaunchConfiguration(org.eclipse.core.resources.IProject project) |
static boolean |
isSupportedType(java.lang.String id) |
org.eclipse.jdt.launching.IRuntimeClasspathEntry[] |
resolveClasspath(org.eclipse.jdt.launching.IRuntimeClasspathEntry[] entries,
org.eclipse.debug.core.ILaunchConfiguration configuration) |
(package private) org.eclipse.jdt.launching.IRuntimeClasspathEntry[] |
resolveClasspath0(org.eclipse.jdt.launching.IRuntimeClasspathEntry[] entries,
org.eclipse.debug.core.ILaunchConfiguration configuration,
org.eclipse.core.runtime.IProgressMonitor monitor) |
public static final java.lang.String MAVEN_SOURCEPATH_PROVIDER
public static final java.lang.String MAVEN_CLASSPATH_PROVIDER
private static final java.lang.String TESTS_PROJECT_CLASSIFIER
private static final java.lang.String THIS_PROJECT_CLASSIFIER
public static final java.lang.String JDT_JUNIT_TEST
public static final java.lang.String JDT_JAVA_APPLICATION
public static final java.lang.String JDT_TESTNG_TEST
private static final java.util.Set<java.lang.String> supportedTypes
IMavenProjectRegistry projectManager
public org.eclipse.jdt.launching.IRuntimeClasspathEntry[] computeUnresolvedClasspath(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
computeUnresolvedClasspath
in interface org.eclipse.jdt.launching.IRuntimeClasspathProvider
computeUnresolvedClasspath
in class org.eclipse.jdt.launching.StandardClasspathProvider
org.eclipse.core.runtime.CoreException
public org.eclipse.jdt.launching.IRuntimeClasspathEntry[] resolveClasspath(org.eclipse.jdt.launching.IRuntimeClasspathEntry[] entries, org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
resolveClasspath
in interface org.eclipse.jdt.launching.IRuntimeClasspathProvider
resolveClasspath
in class org.eclipse.jdt.launching.StandardClasspathProvider
org.eclipse.core.runtime.CoreException
org.eclipse.jdt.launching.IRuntimeClasspathEntry[] resolveClasspath0(org.eclipse.jdt.launching.IRuntimeClasspathEntry[] entries, org.eclipse.debug.core.ILaunchConfiguration configuration, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
private void addStandardClasspathEntries(java.util.Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> all, org.eclipse.jdt.launching.IRuntimeClasspathEntry entry, org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
private void addMavenClasspathEntries(java.util.Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> resolved, org.eclipse.jdt.launching.IRuntimeClasspathEntry runtimeClasspathEntry, org.eclipse.debug.core.ILaunchConfiguration configuration, int scope, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected int getArtifactScope(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected void addProjectEntries(java.util.Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> resolved, org.eclipse.core.runtime.IPath path, int scope, java.lang.String classifier, org.eclipse.debug.core.ILaunchConfiguration launchConfiguration, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static boolean isSupportedType(java.lang.String id)
public static void enable(org.eclipse.debug.core.ILaunchConfiguration config) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
private static void enable(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)
public static void disable(org.eclipse.debug.core.ILaunchConfiguration config) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
private static java.lang.String getArtifactClassifier(org.eclipse.jdt.core.IClasspathEntry entry)
public static void enable(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public static void disable(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
private static java.util.List<org.eclipse.debug.core.ILaunchConfiguration> getLaunchConfiguration(org.eclipse.core.resources.IProject project) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException