public class PluginEntryModel extends ContentEntryModel
This class may be instantiated or subclassed by clients. However, in most cases clients should instead instantiate or subclass the provided concrete implementation of this model.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
PluginEntry
UNKNOWN_SIZE
Constructor and Description |
---|
PluginEntryModel()
Creates a uninitialized plug-in entry model object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares two plug-in models for equality
|
String |
getPluginIdentifier()
Returns the plug-in identifier for this entry.
|
String |
getPluginVersion()
Returns the plug-in version for this entry.
|
boolean |
isFragment()
Indicates whether the entry describes a full plug-in, or
a plug-in fragment.
|
void |
isFragment(boolean isFragment)
Indicates whether this entry represents a fragment or plug-in.
|
boolean |
isUnpack() |
void |
setPluginIdentifier(String pluginId)
Sets the entry plug-in identifier.
|
void |
setPluginVersion(String pluginVersion)
Sets the entry plug-in version.
|
void |
setUnpack(boolean unpack) |
String |
toString() |
getDownloadSize, getInstallSize, getNL, getOS, getOSArch, getWS, setArch, setDownloadSize, setInstallSize, setNL, setOS, setWS
arrayTypeFor, arrayTypeFor, assertIsWriteable, getPropertyName, getResourceBundle, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolve, resolveListReference, resolveNLString, resolveReference, resolveURL
getAdapter
public PluginEntryModel()
public boolean equals(Object obj)
public String getPluginIdentifier()
null
public String getPluginVersion()
null
public boolean isFragment()
true
if the entry is a plug-in fragment,
false
if the entry is a plug-inpublic void setPluginIdentifier(String pluginId)
pluginId
- the entry identifier.public void setPluginVersion(String pluginVersion)
pluginVersion
- the entry version.public void isFragment(boolean isFragment)
isFragment
- fragment settingpublic boolean isUnpack()
public void setUnpack(boolean unpack)
unpack
- Sets whether plugin should be unpacked during installation
or can run from a jarpublic String toString()
toString
in class Object
Object.toString()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.