Package com.iizigo.java.classpath
Class IzRuntimeClasspathEntryResolver
java.lang.Object
com.iizigo.java.classpath.IzRuntimeClasspathEntryResolver
- All Implemented Interfaces:
IRuntimeClasspathEntryResolver
public class IzRuntimeClasspathEntryResolver extends Object implements 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 TypeMethodDescriptionresolveRuntimeClasspathEntry
(IRuntimeClasspathEntry entry, ILaunchConfiguration configuration) Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given launch configuration.resolveRuntimeClasspathEntry
(IRuntimeClasspathEntry entry, IJavaProject project) Returns resolved runtime classpath entries for the given runtime classpath entry, in the context of the given Java project.resolveVMInstall
(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 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.- Specified by:
resolveRuntimeClasspathEntry
in interfaceIRuntimeClasspathEntryResolver
- 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 IRuntimeClasspathEntry[] resolveRuntimeClasspathEntry(IRuntimeClasspathEntry entry, 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 interfaceIRuntimeClasspathEntryResolver
- 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
Returns a VM install associated with the given classpath entry, ornull
if none.- Specified by:
resolveVMInstall
in interfaceIRuntimeClasspathEntryResolver
- Parameters:
entry
- classpath entry- Returns:
- The VM install associated with entry or
null
if none (always null). - Throws:
CoreException