public class VariableClasspathResolver extends java.lang.Object implements IRuntimeClasspathEntryResolver
| Constructor and Description |
|---|
VariableClasspathResolver() |
| Modifier and Type | Method and Description |
|---|---|
IRuntimeClasspathEntry[] |
resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
IJavaProject project)
Returns resolved runtime classpath entries for the given runtime classpath entry,
in the context of the given launch configuration.
|
IRuntimeClasspathEntry[] |
resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry,
ILaunchConfiguration configuration)
Returns resolved runtime classpath entries for the given runtime classpath entry,
in the context of the given launch configuration.
|
IVMInstall |
resolveVMInstall(IClasspathEntry entry)
Returns a VM install associated with the given classpath entry,
or
null if none. |
public IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, ILaunchConfiguration configuration) throws CoreException
IRuntimeClasspathEntryResolverresolveRuntimeClasspathEntry in interface IRuntimeClasspathEntryResolverentry - runtime classpath entry to resolve, of type
VARIABLE or CONTAINTERconfiguration - the context in which the runtime classpath entry
needs to be resolvedCoreException - if unable to resolve the entrypublic IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, IJavaProject project) throws CoreException
IRuntimeClasspathEntryResolverresolveRuntimeClasspathEntry in interface IRuntimeClasspathEntryResolverentry - runtime classpath entry to resolve, of type
VARIABLE or CONTAINTERproject - the context in which the runtime classpath entry
needs to be resolvedCoreException - if unable to resolve the entrypublic IVMInstall resolveVMInstall(IClasspathEntry entry) throws CoreException
IRuntimeClasspathEntryResolvernull if none.resolveVMInstall in interface IRuntimeClasspathEntryResolverentry - classpath entrynull if noneCoreException - if unable to resolve a VM