Package com.iizigo.java.classpath
Class IzRuntimeClasspathEntryResolver
java.lang.Object
com.iizigo.java.classpath.IzRuntimeClasspathEntryResolver
- All Implemented Interfaces:
org.eclipse.jdt.launching.IRuntimeClasspathEntryResolver
public class IzRuntimeClasspathEntryResolver extends Object implements org.eclipse.jdt.launching.IRuntimeClasspathEntryResolver
Resolves container runtime classpath entries in the context of a launch configuration or Java project for the IIZI Libraries.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jdt.launching.IRuntimeClasspathEntry[]
resolveRuntimeClasspathEntry
(org.eclipse.jdt.launching.IRuntimeClasspathEntry entry, org.eclipse.debug.core.ILaunchConfiguration configuration) Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given launch configuration.org.eclipse.jdt.launching.IRuntimeClasspathEntry[]
resolveRuntimeClasspathEntry
(org.eclipse.jdt.launching.IRuntimeClasspathEntry entry, org.eclipse.jdt.core.IJavaProject project) Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given Java project.org.eclipse.jdt.launching.IVMInstall
resolveVMInstall
(org.eclipse.jdt.core.IClasspathEntry entry) Returns a VM install associated with the given classpath entry, ornull
if none.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jdt.launching.IRuntimeClasspathEntryResolver
resolveRuntimeClasspathEntry
Constructor Details
IzRuntimeClasspathEntryResolver
public IzRuntimeClasspathEntryResolver()Public constructor.
Method Details
resolveRuntimeClasspathEntry
public org.eclipse.jdt.launching.IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(org.eclipse.jdt.launching.IRuntimeClasspathEntry entry, org.eclipse.debug.core.ILaunchConfiguration configuration) Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given launch configuration.- Specified by:
resolveRuntimeClasspathEntry
in interfaceorg.eclipse.jdt.launching.IRuntimeClasspathEntryResolver
- Parameters:
entry
- Runtime classpath entry to resolve, of typeVARIABLE
orCONTAINTER
configuration
- The context in which the runtime classpath entry needs to be resolved.- Returns:
- Resolved entries (zero or more).
resolveRuntimeClasspathEntry
public org.eclipse.jdt.launching.IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(org.eclipse.jdt.launching.IRuntimeClasspathEntry entry, org.eclipse.jdt.core.IJavaProject project) Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given Java project.- Specified by:
resolveRuntimeClasspathEntry
in interfaceorg.eclipse.jdt.launching.IRuntimeClasspathEntryResolver
- Parameters:
entry
- Runtime classpath entry to resolve, of typeVARIABLE
orCONTAINTER
project
- Context in which the runtime classpath entry needs to be resolved.- Returns:
- Resolved entries (zero or more).
resolveVMInstall
public org.eclipse.jdt.launching.IVMInstall resolveVMInstall(org.eclipse.jdt.core.IClasspathEntry entry) throws org.eclipse.core.runtime.CoreException Returns a VM install associated with the given classpath entry, ornull
if none.- Specified by:
resolveVMInstall
in interfaceorg.eclipse.jdt.launching.IRuntimeClasspathEntryResolver
- Parameters:
entry
- classpath entry- Returns:
- The VM install associated with entry or
null
if none (always null). - Throws:
org.eclipse.core.runtime.CoreException