org.eclipse.jdt.launching
Class StandardClasspathProvider
java.lang.Object
|
+--org.eclipse.jdt.launching.StandardClasspathProvider
- All Implemented Interfaces:
- IRuntimeClasspathProvider
- Direct Known Subclasses:
- StandardSourcePathProvider
- public class StandardClasspathProvider
- extends Object
- implements IRuntimeClasspathProvider
Default implementation for classpath provider.
This class may be subclassed.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardClasspathProvider
public StandardClasspathProvider()
computeUnresolvedClasspath
public IRuntimeClasspathEntry[] computeUnresolvedClasspath(ILaunchConfiguration configuration)
throws CoreException
- Description copied from interface:
IRuntimeClasspathProvider
- Computes and returns an unresolved classpath for the given launch configuration.
Variable and container entries are not resolved.
- Specified by:
computeUnresolvedClasspath
in interface IRuntimeClasspathProvider
- See Also:
IRuntimeClasspathProvider.computeUnresolvedClasspath(ILaunchConfiguration)
resolveClasspath
public IRuntimeClasspathEntry[] resolveClasspath(IRuntimeClasspathEntry[] entries,
ILaunchConfiguration configuration)
throws CoreException
- Description copied from interface:
IRuntimeClasspathProvider
- Returns the resolved path corresponding to the given path, in the context of the
given launch configuration. Variable and container entries are resolved. The returned
(resolved) path need not have the same number of entries as the given (unresolved)
path.
- Specified by:
resolveClasspath
in interface IRuntimeClasspathProvider
- See Also:
IRuntimeClasspathProvider.resolveClasspath(IRuntimeClasspathEntry[], ILaunchConfiguration)
recoverRuntimePath
protected IRuntimeClasspathEntry[] recoverRuntimePath(ILaunchConfiguration configuration,
String attribute)
throws CoreException
- Returns a collection of runtime classpath entries that are defined in the
specified attribute of the given launch configuration. When present,
the attribute must contain a list of runtime classpath entry mementos.
- Parameters:
configuration
- launch configurationattribute
- attribute name containing the list of entries- Returns:
- collection of runtime classpath entries that are defined in the
specified attribute of the given launch configuration
- Throws:
CoreException
- if unable to retrieve the list
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.