public enum MatchingRule extends java.lang.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(java.lang.String code)
Converts plug-in manifest string code to matching rule constant value.
|
abstract java.lang.String |
toCode() |
static MatchingRule |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String toCode()
public static MatchingRule fromCode(java.lang.String code)
code
- code from plug-in manifestCopyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.