public enum DiffType extends Enum<DiffType>
Enum Constant and Description |
---|
ADDED_CHARACTERS |
ADDED_LINES |
ADDED_WORDS |
CHANGED_LINES |
CHANGED_WORDS |
DELETED_CHARACTERS |
DELETED_LINES |
DELETED_WORDS |
SNIPPED_LINES |
UNCHANGED |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
boolean |
isChangedLineType() |
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 UNCHANGED
public static final DiffType SNIPPED_LINES
public static final DiffType ADDED_LINES
public static final DiffType DELETED_LINES
public static final DiffType CHANGED_LINES
public static final DiffType ADDED_WORDS
public static final DiffType DELETED_WORDS
public static final DiffType CHANGED_WORDS
public static final DiffType ADDED_CHARACTERS
public static final DiffType DELETED_CHARACTERS
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 getClassName()
public boolean isChangedLineType()
Copyright © 2002-2022 Atlassian. All Rights Reserved.