Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


javax.ide.extension
Interface Extension

All Superinterfaces:
Identifiable
All Known Subinterfaces:
Extension2

public interface Extension
extends Identifiable

An extension is a unit of functionality in a JSR-198 based IDE. The Extension interface provides access to metadata about an extension provided in its extension manifest.


Method Summary
 URIPath getClassPath()
          Returns the class path of this extension.
 java.util.Collection<ExtensionDependency> getDependencies()
          Returns a collection of ExtensionDependency objects, one for each dependency this extension has on another extension.
 Version getEDKVersion()
          Returns the version of the Extension Software Development Kit (ESDK) this extension is compatible with.
 java.lang.String getName()
          Returns the name of this extension.
 java.lang.String getOwner()
          Returns the owner of this extension.
 PlatformInfo getPlatformInfo()
          Returns information about the platforms on which this extension is supported.
 Version getVersion()
          Returns the version of this extension.

 

Methods inherited from interface javax.ide.Identifiable
getID

 

Method Detail

getName

java.lang.String getName()
Returns the name of this extension. This corresponds to the <name> element in the extension manifest.
Returns:
The name of this extension.

getOwner

java.lang.String getOwner()
Returns the owner of this extension. This corresponds to the <owner> element in the extension manifest.
Returns:
The owner of this extension.

getVersion

Version getVersion()
Returns the version of this extension. This corresponds to the version attribute.
Returns:
The version number of this extension.

getEDKVersion

Version getEDKVersion()
Returns the version of the Extension Software Development Kit (ESDK) this extension is compatible with. This corresponds to the esdk-version attribute on <extension> in the extension manifest.

A JSR-198 compatible IDE may elect not to load an extension if the IDE does not support the specified ESDK version.

Returns:
The version of the ESDK this extension is compatible with.

getPlatformInfo

PlatformInfo getPlatformInfo()
Returns information about the platforms on which this extension is supported.

A JSR-198 compatible IDE may elect not to load an extension if the IDE does not support the platforms required by the extension.

Returns:
information about the platforms this extension requires.

getDependencies

java.util.Collection<ExtensionDependency> getDependencies()
Returns a collection of ExtensionDependency objects, one for each dependency this extension has on another extension. The information here corresponds to the <dependencies> section of the extension manifest.
Returns:
a collection of ExtensionDependency objects. May be empty.

getClassPath

URIPath getClassPath()
Returns the class path of this extension. The information here corresponds to the <classpaths> section of the extension manifest.
Returns:
a URIPath containing classpath entries specified by this extension.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.