|
Eclipse PDE Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.pde.core.target.TargetFeature
public class TargetFeature
Describes a single feature in a target definition.
Constructor Summary | |
---|---|
TargetFeature(File featureLocation)
Constructs a target feature for a feature on the local filesystem. |
Method Summary | |
---|---|
NameVersionDescriptor[] |
getDependentFeatures()
Returns a list of name version descriptors that describe the set of features that this feature depends on as imports or included features. |
String |
getId()
Returns the id of this feature or null if no id is set. |
String |
getLocation()
Returns the string path to the directory containing the feature.xml or null if no install location is known. |
NameVersionDescriptor[] |
getPlugins()
Returns a list of name version descriptor that describes the set of plug-ins that this feature includes. |
String |
getVersion()
Returns the version of this feature or null if no version is set. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TargetFeature(File featureLocation) throws CoreException
featureLocation
- the location of the feature (feature.xml or directory containing it)
CoreException
- if there is a problem opening the feature.xmlMethod Detail |
---|
public String getId()
null
if no id is set.
null
public String getVersion()
null
if no version is set.
null
public String getLocation()
null
if no install location is known.
null
public NameVersionDescriptor[] getPlugins()
public NameVersionDescriptor[] getDependentFeatures()
public String toString()
toString
in class Object
|
Eclipse PDE Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.