com.atlassian.diff
Enum DiffType
java.lang.Object
java.lang.Enum<DiffType>
com.atlassian.diff.DiffType
- All Implemented Interfaces:
- Serializable, Comparable<DiffType>
public enum DiffType
- extends Enum<DiffType>
UNCHANGED
public static final DiffType UNCHANGED
SNIPPED_LINES
public static final DiffType SNIPPED_LINES
ADDED_LINES
public static final DiffType ADDED_LINES
DELETED_LINES
public static final DiffType DELETED_LINES
CHANGED_LINES
public static final DiffType CHANGED_LINES
ADDED_WORDS
public static final DiffType ADDED_WORDS
DELETED_WORDS
public static final DiffType DELETED_WORDS
CHANGED_WORDS
public static final DiffType CHANGED_WORDS
ADDED_CHARACTERS
public static final DiffType ADDED_CHARACTERS
DELETED_CHARACTERS
public static final DiffType DELETED_CHARACTERS
values
public static DiffType[] 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 (DiffType c : DiffType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DiffType 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
getClassName
public String getClassName()
isChangedLineType
public boolean isChangedLineType()
Copyright © 2002-2013 Atlassian. All Rights Reserved.