Package com.perforce.p4java.core
Enum IFileDiff.Status
- java.lang.Object
-
- java.lang.Enum<IFileDiff.Status>
-
- com.perforce.p4java.core.IFileDiff.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IFileDiff.Status>
- Enclosing interface:
- IFileDiff
public static enum IFileDiff.Status extends java.lang.Enum<IFileDiff.Status>
Status of diff
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT
IDENTICAL
LEFT_ONLY
RIGHT_ONLY
TYPES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFileDiff.Status
fromString(java.lang.String serverValue)
static IFileDiff.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IFileDiff.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static IFileDiff.Status fromString(java.lang.String serverValue)
-
-