Package org.eclipse.pde.core.project
Interface IPackageExportDescription
public interface IPackageExportDescription
Describes a package export. Instances of this class can be created
via
IBundleProjectService.newPackageExport(String, Version, boolean, String[]).- Since:
- 3.6
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionfriends()Returns the declared friends of this package.default String[]Deprecated.default StringgetName()Deprecated.Instead usename()default VersionDeprecated.Instead useversion()booleanisApi()Returns whether the package is exported as API, or is internal.name()Returns the fully qualified name of the exported package.version()Returns the version of the exported package ornullif unspecified.
-
Method Details
-
name
String name()Returns the fully qualified name of the exported package.- Returns:
- fully qualified name of the exported package
- Since:
- 3.19
-
getName
Deprecated.Instead usename() -
version
Version version()Returns the version of the exported package ornullif unspecified.- Returns:
- version or
null - Since:
- 3.19
-
getVersion
Deprecated.Instead useversion() -
friends
Returns the declared friends of this package.- Returns:
- friends as bundle symbolic names, may be empty
- Since:
- 3.19
-
getFriends
Deprecated.Instead usefriends() -
isApi
boolean isApi()Returns whether the package is exported as API, or is internal.- Returns:
- whether the package is exported as API
-
friends()