public enum DiffType extends java.lang.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.
|
java.lang.String |
toArgString()
Return the value in p4 command single character form.
|
static DiffType |
valueOf(java.lang.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(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 java.lang.String toArgString()
public boolean isWsOption()