public class StandardClasspathProvider extends Object implements IRuntimeClasspathProvider
This class may be sub-classed.
Constructor and Description |
---|
StandardClasspathProvider() |
Modifier and Type | Method and Description |
---|---|
IRuntimeClasspathEntry[] |
computeUnresolvedClasspath(ILaunchConfiguration configuration)
Computes and returns an unresolved classpath for the given launch configuration.
|
protected IRuntimeClasspathEntry[] |
recoverRuntimePath(ILaunchConfiguration configuration,
String attribute)
Returns a collection of runtime classpath entries that are defined in the
specified attribute of the given launch configuration.
|
IRuntimeClasspathEntry[] |
resolveClasspath(IRuntimeClasspathEntry[] entries,
ILaunchConfiguration configuration)
Returns the resolved path corresponding to the given path, in the context of the
given launch configuration.
|
public IRuntimeClasspathEntry[] computeUnresolvedClasspath(ILaunchConfiguration configuration) throws CoreException
IRuntimeClasspathProvider
computeUnresolvedClasspath
in interface IRuntimeClasspathProvider
configuration
- launch configurationCoreException
- if unable to compute a pathpublic IRuntimeClasspathEntry[] resolveClasspath(IRuntimeClasspathEntry[] entries, ILaunchConfiguration configuration) throws CoreException
IRuntimeClasspathProvider
resolveClasspath
in interface IRuntimeClasspathProvider
entries
- entries to resolveconfiguration
- launch configuration context to resolve inCoreException
- if unable to resolve a pathprotected IRuntimeClasspathEntry[] recoverRuntimePath(ILaunchConfiguration configuration, String attribute) throws CoreException
configuration
- launch configurationattribute
- attribute name containing the list of entriesCoreException
- if unable to retrieve the list
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.