public enum MatchAction extends Enum<MatchAction>
Modifier and Type | Method and Description |
---|---|
static MatchAction |
fromString(String s)
To get the enum constant corresponding to the given String representation
|
String |
toString()
To convert an enum constant to its String representation
|
static MatchAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchAction ALL
public static final MatchAction ANY
public static final MatchAction ONE
public static MatchAction[] values()
for (MatchAction c : MatchAction.values()) System.out.println(c);
public static MatchAction 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 String toString()
toString
in class Enum<MatchAction>
public static MatchAction fromString(String s)
Copyright © 2016 Sensia Software LLC. All rights reserved.