public static enum IFileLineMatch.MatchType extends 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(String serverValue)
Get a match type enumeration for the specified server value.
|
static IFileLineMatch.MatchType |
valueOf(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(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 IFileLineMatch.MatchType fromServerString(String serverValue)
MATCH when the
serverValue specified is null.serverValue - Copyright © 2017 Perforce Software. All Rights Reserved.