org.eclipse.xtext.junit4.parameterized
Enum XpectParameterProvider.Token
java.lang.Object
java.lang.Enum<XpectParameterProvider.Token>
org.eclipse.xtext.junit4.parameterized.XpectParameterProvider.Token
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<XpectParameterProvider.Token>
- Enclosing class:
- XpectParameterProvider
protected static enum XpectParameterProvider.Token
- extends java.lang.Enum<XpectParameterProvider.Token>
Field Summary |
java.util.regex.Pattern |
pattern
|
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ID
public static final XpectParameterProvider.Token ID
INT
public static final XpectParameterProvider.Token INT
OFFSET
public static final XpectParameterProvider.Token OFFSET
STRING
public static final XpectParameterProvider.Token STRING
TEXT
public static final XpectParameterProvider.Token TEXT
pattern
public final java.util.regex.Pattern pattern
values
public static XpectParameterProvider.Token[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (XpectParameterProvider.Token c : XpectParameterProvider.Token.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static XpectParameterProvider.Token valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null