public enum MatchingRule extends Enum<MatchingRule>
Enum Constant and Description |
---|
COMPATIBLE
Version identifier matching rule constant.
|
EQUAL
Version identifier matching rule constant.
|
EQUIVALENT
Version identifier matching rule constant.
|
GREATER_OR_EQUAL
Version identifier matching rule constant.
|
Modifier and Type | Method and Description |
---|---|
static MatchingRule |
fromCode(String code)
Converts plug-in manifest string code to matching rule constant value.
|
abstract String |
toCode() |
static MatchingRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchingRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchingRule EQUAL
public static final MatchingRule EQUIVALENT
public static final MatchingRule COMPATIBLE
public static final MatchingRule GREATER_OR_EQUAL
public static MatchingRule[] values()
for (MatchingRule c : MatchingRule.values()) System.out.println(c);
public static MatchingRule valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract String toCode()
public static MatchingRule fromCode(String code)
code
- code from plug-in manifestCopyright © 2015. All rights reserved.