public static enum IFileLineMatch.MatchType extends java.lang.Enum<IFileLineMatch.MatchType>
Enum Constant and Description |
---|
AFTER
After matched line
|
BEFORE
Before matched line
|
MATCH
Matched line
|
Modifier and Type | Method and Description |
---|---|
static IFileLineMatch.MatchType |
fromServerString(java.lang.String serverValue)
Get a match type enumeration for the specified server value.
|
static IFileLineMatch.MatchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IFileLineMatch.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFileLineMatch.MatchType MATCH
public static final IFileLineMatch.MatchType BEFORE
public static final IFileLineMatch.MatchType AFTER
public static IFileLineMatch.MatchType[] values()
for (IFileLineMatch.MatchType c : IFileLineMatch.MatchType.values()) System.out.println(c);
public static IFileLineMatch.MatchType 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 static IFileLineMatch.MatchType fromServerString(java.lang.String serverValue)
The returned value will be MATCH
when the
serverValue specified is null.
serverValue
- serverValue