public interface IRuntimeClasspathEntry2 extends IRuntimeClasspathEntry
IRuntimeClasspathEntry
to support
extensible runtime classpath entries. Contributed runtime classpath
entries have a type of OTHER
, and are contributed to
the runtimeClasspathEntries
extension point.
Clients are not intended to implement this interface, as new types of runtime classpath entries are only intended to be contributed by the Java debugger.
IRuntimeClasspathEntry
ARCHIVE, BOOTSTRAP_CLASSES, CONTAINER, OTHER, PROJECT, STANDARD_CLASSES, USER_CLASSES, VARIABLE
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a human readable name for this classpath entry.
|
IRuntimeClasspathEntry[] |
getRuntimeClasspathEntries(ILaunchConfiguration configuration)
Returns the classpath entries this entry is composed of, or an
empty collection if this entry is not a composite entry.
|
String |
getTypeId()
Returns the unique identifier of the extension that contributed
this classpath entry type, or
null if this classpath
entry type was not contributed. |
void |
initializeFrom(Element memento)
Initializes this runtime classpath entry from the given memento.
|
boolean |
isComposite()
Returns whether this classpath entry is composed of other entries.
|
getClasspathEntry, getClasspathProperty, getJavaProject, getLocation, getMemento, getPath, getResource, getSourceAttachmentLocation, getSourceAttachmentPath, getSourceAttachmentRootLocation, getSourceAttachmentRootPath, getType, getVariableName, setClasspathProperty, setSourceAttachmentPath, setSourceAttachmentRootPath
void initializeFrom(Element memento) throws CoreException
memento
- memento created by a classpath entry of the same typeCoreException
- if unable to initialize from the given mementoString getTypeId()
null
if this classpath
entry type was not contributed.null
if this classpath
entry type was not contributedboolean isComposite()
IRuntimeClasspathEntry[] getRuntimeClasspathEntries(ILaunchConfiguration configuration) throws CoreException
configuration
- the context (launch configuration) in which
this runtime classpath entry is being queried for contained
entries, possibly null
CoreException
- if unable to retrieve contained entriesString getName()
Copyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.