|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DiffType> com.atlassian.confluence.diff.DiffType
@Deprecated public enum DiffType
Holds all the different types of diffs and the styles applied to them This need to be available because some email clients don't support adding style classes to emails.
Enum Constant Summary | |
---|---|
ADDED_CHARACTERS
Deprecated. |
|
ADDED_LINES
Deprecated. |
|
ADDED_WORDS
Deprecated. |
|
CHANGED_LINES
Deprecated. |
|
CHANGED_WORDS
Deprecated. |
|
DELETED_CHARACTERS
Deprecated. |
|
DELETED_LINES
Deprecated. |
|
DELETED_WORDS
Deprecated. |
|
SNIPPED_LINES
Deprecated. |
|
UNCHANGED
Deprecated. |
Method Summary | |
---|---|
String |
getClassName()
Deprecated. |
String |
getStyle()
Deprecated. |
boolean |
isChangedLineType()
Deprecated. |
static DiffType |
valueOf(String name)
Deprecated. Returns the enum constant of this type with the specified name. |
static DiffType[] |
values()
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getClassName()
public String getStyle()
public boolean isChangedLineType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |