public class ImportRefVersionConstraint extends Object
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Ffeature_manifest.html&cp=2_1_5_20
Modifier and Type | Field and Description |
---|---|
static String |
MATCH_COMPATIBLE |
static String |
MATCH_EQUIVALENT |
static String |
MATCH_GREATER_OR_EQUAL |
static String |
MATCH_PERFECT |
Constructor and Description |
---|
ImportRefVersionConstraint(String version,
String match) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMatch() |
String |
getVersion() |
int |
hashCode() |
boolean |
matches(String otherVersion)
Test whether otherVersion matches the current constraint.
|
String |
toString() |
ImportRefVersionConstraint |
withVersion(String newVersion) |
public static final String MATCH_GREATER_OR_EQUAL
public static final String MATCH_COMPATIBLE
public static final String MATCH_EQUIVALENT
public static final String MATCH_PERFECT
public String getVersion()
public String getMatch()
public ImportRefVersionConstraint withVersion(String newVersion)
public boolean matches(String otherVersion)
Copyright © 2008–2020 Eclipse Foundation. All rights reserved.