public static enum TaggingPresetItems.MatchType extends Enum<TaggingPresetItems.MatchType>
Item#matches
) is performed.Enum Constant and Description |
---|
KEY
Positive if key matches, neutral otherwise.
|
KEY_REQUIRED
Positive if key matches, negative otherwise.
|
KEY_VALUE
Positive if key and value matches, negative otherwise.
|
NONE
Neutral, i.e., do not consider this item for matching.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static TaggingPresetItems.MatchType |
ofString(String type) |
static TaggingPresetItems.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaggingPresetItems.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaggingPresetItems.MatchType NONE
public static final TaggingPresetItems.MatchType KEY
public static final TaggingPresetItems.MatchType KEY_REQUIRED
public static final TaggingPresetItems.MatchType KEY_VALUE
public static TaggingPresetItems.MatchType[] values()
for (TaggingPresetItems.MatchType c : TaggingPresetItems.MatchType.values()) System.out.println(c);
public static TaggingPresetItems.MatchType 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 static TaggingPresetItems.MatchType ofString(String type)