public class TestsClassifierClasspathProvider extends AbstractClassifierClasspathProvider
tests classifier. This provider adds the test classes folder to the runtime
classpath for both Runtime and Test launch configurations.| Constructor and Description |
|---|
TestsClassifierClasspathProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(IMavenProjectFacade mavenProjectFacade,
String classifier)
This provider applies to the mavenProjectFacade if the classifier is
tests. |
String |
getClassifier() |
void |
setRuntimeClasspath(Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> runtimeClasspath,
IMavenProjectFacade mavenProjectFacade,
org.eclipse.core.runtime.IProgressMonitor monitor)
Adds the test classes folder to the runtime classpath.
|
void |
setTestClasspath(Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> testClasspath,
IMavenProjectFacade mavenProjectFacade,
org.eclipse.core.runtime.IProgressMonitor monitor)
Adds the test classes folder to the test classpath.
|
addFolders, addMainFolder, addTestFolder, getId, getName, setInitializationData, toStringpublic boolean applies(IMavenProjectFacade mavenProjectFacade, String classifier)
tests.public String getClassifier()
tests String.public void setRuntimeClasspath(Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> runtimeClasspath, IMavenProjectFacade mavenProjectFacade, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
setRuntimeClasspath in interface IClassifierClasspathProvidersetRuntimeClasspath in class AbstractClassifierClasspathProviderorg.eclipse.core.runtime.CoreExceptionpublic void setTestClasspath(Set<org.eclipse.jdt.launching.IRuntimeClasspathEntry> testClasspath, IMavenProjectFacade mavenProjectFacade, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
setTestClasspath in interface IClassifierClasspathProvidersetTestClasspath in class AbstractClassifierClasspathProviderorg.eclipse.core.runtime.CoreExceptionCopyright © 2005-2017 Eclipse Foundation. All Rights Reserved.