public enum DiffType extends Enum<DiffType>
The diff types are explained in detail in the main Perforce documentation and will not be detailed here.
Enum Constant and Description |
---|
CONTEXT_DIFF |
IGNORE_LINE_ENDINGS |
IGNORE_WS |
IGNORE_WS_CHANGES |
RCS_DIFF |
SUMMARY_DIFF |
UNIFIED_DIFF |
Modifier and Type | Method and Description |
---|---|
boolean |
isWsOption()
Return true if this is a "whitespace option", i.e.
|
String |
toArgString()
Return the value in p4 command single character form.
|
static DiffType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiffType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiffType RCS_DIFF
public static final DiffType CONTEXT_DIFF
public static final DiffType SUMMARY_DIFF
public static final DiffType UNIFIED_DIFF
public static final DiffType IGNORE_WS_CHANGES
public static final DiffType IGNORE_WS
public static final DiffType IGNORE_LINE_ENDINGS
public static DiffType[] values()
for (DiffType c : DiffType.values()) System.out.println(c);
public static DiffType 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 toArgString()
public boolean isWsOption()
Copyright © 2017 Perforce Software. All Rights Reserved.