Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.configurator
Interface IPlatformConfiguration.IFeatureEntry

Enclosing interface:
IPlatformConfiguration

public static interface IPlatformConfiguration.IFeatureEntry

Feature entry. Represents runtime "hints" about configured features. The information is used during execution to locate the correct attribution information for a feature. Note, that a typical configuration can declare multiple feature entries. At execution time, only one can be selected as the active primary feature. This is determined based on specified command line arguments or computed defaults.

Since:
2.0

Method Summary
 boolean canBePrimary ()
          Returns an indication whether this feature has been defined to act as a primary feature.
  String getFeatureApplication ()
          Returns the application to run when this feature is the primary feature.
  String getFeatureIdentifier ()
          Returns feature identifier.
  String getFeaturePluginIdentifier ()
          Returns the identifier of the feature plug-in for this feature entry.
  String getFeaturePluginVersion ()
          Returns the version of the feature plug-in for this feature entry.
  URL[] getFeatureRootURLs ()
          Returns URLs to the feature "root" locations.
  String getFeatureVersion ()
          Returns the currently configured version for the feature.
 

Method Detail

getFeatureIdentifier

String getFeatureIdentifier()
Returns feature identifier.

Returns:
feature identifier
Since:
2.0

getFeatureVersion

String getFeatureVersion()
Returns the currently configured version for the feature.

Returns:
feature version (as string), or null
Since:
2.0

getFeaturePluginIdentifier

String getFeaturePluginIdentifier()
Returns the identifier of the feature plug-in for this feature entry. Note, that there is no guarantee that a feature in fact supplies a corresponding feature plugin, so the result can be null. Also, if supplied, there is no guarantee that the plugin will in fact be loaded into the plug-in registry at runtime (due to rules and constraint checking performed by the registry loading support). Consequently code making use of this method must handle these conditions.

Returns:
feature identifier (as string), or null
Since:
2.1

getFeaturePluginVersion

String getFeaturePluginVersion()
Returns the version of the feature plug-in for this feature entry. Note, that there is no guarantee that a feature in fact supplies a corresponding feature plugin, so the result can be null. Also, if supplied, there is no guarantee that the plugin will in fact be loaded into the plug-in registry at runtime (due to rules and constraint checking performed by the registry loading support). Consequently code making use of this method must handle these conditions.

Returns:
feature version (as string), or null
Since:
2.0

getFeatureApplication

String getFeatureApplication()
Returns the application to run when this feature is the primary feature.

Returns:
application identifier, or null
Since:
2.0

getFeatureRootURLs

URL[] getFeatureRootURLs()
Returns URLs to the feature "root" locations. The root URLs are install locations of the feature plugin and its fragments.

Returns:
array of URLs, or an empty array
Since:
2.0

canBePrimary

boolean canBePrimary()
Returns an indication whether this feature has been defined to act as a primary feature.

Returns:
true if the feature can be primary, false otherwise.
Since:
2.0

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire