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 java.lang.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
Constructors Constructor Description IzRuntimeClasspathEntryResolver()
Public constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.
Method Detail
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