|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.core.runtime.model.PluginModelObject | +--org.eclipse.core.runtime.model.PluginPrerequisiteModel
An object which represents the relationship between a plug-in and a prerequisite plug-in in the dependent's plug-in manifest.
This class may be instantiated, or further subclassed.
Field Summary | |
static byte |
PREREQ_MATCH_COMPATIBLE
|
static byte |
PREREQ_MATCH_EQUIVALENT
|
static byte |
PREREQ_MATCH_GREATER_OR_EQUAL
|
static byte |
PREREQ_MATCH_PERFECT
|
static byte |
PREREQ_MATCH_UNSPECIFIED
|
Constructor Summary | |
PluginPrerequisiteModel()
Creates a new plug-in prerequisite model in which all fields are null . |
Method Summary | |
boolean |
getExport()
Returns whether or not the code in this pre-requisite is exported. |
boolean |
getMatch()
Deprecated. - use getMatchByte |
byte |
getMatchByte()
Returns a byte code indicating the type of match this pre-requisite requires. |
boolean |
getOptional()
Returns whether this pre-requisite is optional. |
String |
getPlugin()
Returns the plug-in identifier of the prerequisite plug-in. |
String |
getResolvedVersion()
Returns the resolved version of the prerequisite plug-in. |
String |
getVersion()
Returns the version name of this plug-in. |
void |
setExport(boolean value)
Sets whether or not the code in this pre-requisite is exported. |
void |
setMatch(boolean value)
Deprecated. use setMatchByte |
void |
setMatchByte(byte value)
Sets whether or not this pre-requisite requires an exact match. |
void |
setOptional(boolean value)
Sets whether this pre-requisite is optional. |
void |
setPlugin(String value)
Sets the plug-in identifier of this prerequisite plug-in. |
void |
setResolvedVersion(String value)
Sets the resolved version of the prerequisite plug-in. |
void |
setVersion(String value)
Sets the version name of this plug-in prerequisite. |
Methods inherited from class org.eclipse.core.runtime.model.PluginModelObject |
assertIsWriteable, getName, isReadOnly, markReadOnly, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte PREREQ_MATCH_UNSPECIFIED
public static final byte PREREQ_MATCH_PERFECT
public static final byte PREREQ_MATCH_EQUIVALENT
public static final byte PREREQ_MATCH_COMPATIBLE
public static final byte PREREQ_MATCH_GREATER_OR_EQUAL
Constructor Detail |
public PluginPrerequisiteModel()
null
.
Method Detail |
public boolean getExport()
public boolean getMatch()
public byte getMatchByte()
public boolean getOptional()
public String getPlugin()
null
public String getResolvedVersion()
PluginVersionIdentifier
.
PluginVersionIdentifier
public String getVersion()
null
public void setExport(boolean value)
value
- whether or not the code in this pre-requisite is exportedpublic void setMatch(boolean value)
value
- whether or not this pre-requisite requires an exact matchpublic void setMatchByte(byte value)
value
- whether or not this pre-requisite requires an exact matchpublic void setOptional(boolean value)
value
- whether this pre-requisite is optionalpublic void setPlugin(String value)
value
- the prerequisite plug-in identifier. May be null
.public void setResolvedVersion(String value)
PluginVersionIdentifier
.
value
- the version of the prerequisite plug-inPluginVersionIdentifier
public void setVersion(String value)
value
- the version name of this plug-in prerequisite.
May be null
.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |