com.perforce.p4java.core
Enum IFileDiff.Status
java.lang.Object
java.lang.Enum<IFileDiff.Status>
com.perforce.p4java.core.IFileDiff.Status
- All Implemented Interfaces:
- Serializable, Comparable<IFileDiff.Status>
- Enclosing interface:
- IFileDiff
public static enum IFileDiff.Status
- extends Enum<IFileDiff.Status>
Status of diff
LEFT_ONLY
public static final IFileDiff.Status LEFT_ONLY
RIGHT_ONLY
public static final IFileDiff.Status RIGHT_ONLY
CONTENT
public static final IFileDiff.Status CONTENT
TYPES
public static final IFileDiff.Status TYPES
IDENTICAL
public static final IFileDiff.Status IDENTICAL
values
public static IFileDiff.Status[] 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 (IFileDiff.Status c : IFileDiff.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IFileDiff.Status valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
fromString
public static IFileDiff.Status fromString(String serverValue)
Copyright © 2015 Perforce Software. All Rights Reserved.