public class PluginPrerequisiteModel extends PluginModelObject
This class may be instantiated, or further subclassed.
Modifier and Type | Field and Description |
---|---|
static byte |
PREREQ_MATCH_COMPATIBLE
Deprecated.
|
static byte |
PREREQ_MATCH_EQUIVALENT
Deprecated.
|
static byte |
PREREQ_MATCH_GREATER_OR_EQUAL
Deprecated.
|
static byte |
PREREQ_MATCH_PERFECT
Deprecated.
|
static byte |
PREREQ_MATCH_UNSPECIFIED
Deprecated.
|
Constructor and Description |
---|
PluginPrerequisiteModel()
Deprecated.
Creates a new plug-in prerequisite model in which all fields
are
null . |
Modifier and Type | Method and Description |
---|---|
boolean |
getExport()
Deprecated.
Returns whether or not the code in this pre-requisite is exported.
|
boolean |
getMatch()
Deprecated.
- use getMatchByte
|
byte |
getMatchByte()
Deprecated.
Returns a byte code indicating the type of match this pre-requisite requires.
|
boolean |
getOptional()
Deprecated.
Returns whether this pre-requisite is optional.
|
String |
getPlugin()
Deprecated.
Returns the plug-in identifier of the prerequisite plug-in.
|
String |
getResolvedVersion()
Deprecated.
Returns the resolved version of the prerequisite plug-in.
|
String |
getVersion()
Deprecated.
Returns the version name of this plug-in.
|
void |
setExport(boolean value)
Deprecated.
Sets whether or not the code in this pre-requisite is exported.
|
void |
setMatch(boolean value)
Deprecated.
use setMatchByte
|
void |
setMatchByte(byte value)
Deprecated.
Sets whether or not this pre-requisite requires an exact match.
|
void |
setOptional(boolean value)
Deprecated.
Sets whether this pre-requisite is optional.
|
void |
setPlugin(String value)
Deprecated.
Sets the plug-in identifier of this prerequisite plug-in.
|
void |
setResolvedVersion(String value)
Deprecated.
Sets the resolved version of the prerequisite plug-in.
|
void |
setVersion(String value)
Deprecated.
Sets the version name of this plug-in prerequisite.
|
assertIsWriteable, getName, getStartLine, isReadOnly, markReadOnly, setLocalizedName, setName, setStartLine, toString
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
public PluginPrerequisiteModel()
null
.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
.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.