Package org.eclipse.pde.core.project
Interface IHostDescription
public interface IHostDescription
Describes a fragment host. Instances of this class can be created
via
IBundleProjectService.newHost(String, VersionRange)
.- 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 TypeMethodDescriptiondefault String
getName()
Deprecated.default VersionRange
Deprecated, for removal: This API element is subject to removal in a future version.Instead useversion()
name()
Returns the symbolic name of the host.version()
Returns the version constraint of the host ornull
if unspecified.
-
Method Details
-
name
String name()Returns the symbolic name of the host.- Returns:
- symbolic name of the host
- Since:
- 3.19
-
getName
Deprecated.Instead usename()
-
version
VersionRange version()Returns the version constraint of the host ornull
if unspecified.- Returns:
- version constraint or
null
- Since:
- 3.19
-
getVersionRange
@Deprecated(forRemoval=true, since="3.19 (removal in 2026-09 or later)") default VersionRange getVersionRange()Deprecated, for removal: This API element is subject to removal in a future version.Instead useversion()
-
name()