org.eclipse.update.core
Interface INonPluginEntry
- All Superinterfaces:
- IAdaptable
- All Known Implementing Classes:
- NonPluginEntry
- public interface INonPluginEntry
- extends IAdaptable
Non-plug-in entry defines an arbitrary non-plug-in data file packaged
as part of a feature. Non-plug-in entries are not interpreted by the
platform (other than being downloaded as part of an install action).
They require a custom install handler to be specified as part of the
feature. Note, that defining a non-plug-in entry does not necessarily
indicate the non-plug-in file is packaged together with any other
feature files. The actual packaging details are determined by the
feature content provider for the feature.
Clients may implement this interface. However, in most cases clients should
directly instantiate or subclass the provided implementation of this
interface.
- Since:
- 2.0
- See Also:
NonPluginEntry
,
FeatureContentProvider
Method Summary |
String |
getArch()
Returns optional system architecture specification. |
long |
getDownloadSize()
Returns the download size of the entry, if it can be determined. |
String |
getIdentifier()
Returns the identifier of this data entry. |
long |
getInstallSize()
Returns the install size of the feature, if it can be determined. |
String |
getNL()
Returns optional locale specification. |
String |
getOS()
Returns optional operating system specification. |
String |
getWS()
Returns optional system architecture specification. |
getIdentifier
public String getIdentifier()
- Returns the identifier of this data entry.
- Returns:
- data entry identifier
- Since:
- 2.0
getDownloadSize
public long getDownloadSize()
- Returns the download size of the entry, if it can be determined.
- Returns:
- download size of the feature in KiloBytes, or an indication
the size could not be determined
- Since:
- 2.0
- See Also:
ContentEntryModel.UNKNOWN_SIZE
getInstallSize
public long getInstallSize()
- Returns the install size of the feature, if it can be determined.
- Returns:
- install size of the feature in KiloBytes, or an indication
the size could not be determined
- Since:
- 2.0
- See Also:
ContentEntryModel.UNKNOWN_SIZE
getOS
public String getOS()
- Returns optional operating system specification.
A comma-separated list of os designators defined by the platform.
Indicates this entry should only be installed on one of the specified
os systems. If this attribute is not specified, the entry can be
installed on all systems (portable implementation).
This information is used as a hint by the installation and update
support.
- Returns:
- the operating system specification, or
null
. - Since:
- 2.0
- See Also:
BootLoader
getWS
public String getWS()
- Returns optional system architecture specification.
A comma-separated list of arch designators defined by the platform.
Indicates this entry should only be installed on one of the specified
systems. If this attribute is not specified, the entry can be
installed on all systems (portable implementation).
This information is used as a hint by the installation and update
support.
- Returns:
- system architecture specification, or
null
. - Since:
- 2.0
- See Also:
BootLoader
getArch
public String getArch()
- Returns optional system architecture specification.
A comma-separated list of arch designators defined by the platform.
Indicates this entry should only be installed on one of the specified
systems. If this attribute is not specified, the entry can be
installed on all systems (portable implementation).
This information is used as a hint by the installation and update
support.
- Returns:
- system architecture specification, or
null
. - Since:
- 2.0
- See Also:
BootLoader
getNL
public String getNL()
- Returns optional locale specification.
A comma-separated list of locale designators defined by Java.
Indicates this entry should only be installed on a system running
with a compatible locale (using Java locale-matching rules).
If this attribute is not specified, the entry can be installed
on all systems (language-neutral implementation).
This information is used as a hint by the installation and update
support.
- Returns:
- the locale specification, or
null
. - Since:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.