com.atlassian.confluence.diff
Enum DiffType

java.lang.Object
  extended by java.lang.Enum<DiffType>
      extended by com.atlassian.confluence.diff.DiffType
All Implemented Interfaces:
Serializable, Comparable<DiffType>

Deprecated. since 5.7

@Deprecated
public enum DiffType
extends 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

UNCHANGED

public static final DiffType UNCHANGED
Deprecated. 

SNIPPED_LINES

public static final DiffType SNIPPED_LINES
Deprecated. 

ADDED_LINES

public static final DiffType ADDED_LINES
Deprecated. 

DELETED_LINES

public static final DiffType DELETED_LINES
Deprecated. 

CHANGED_LINES

public static final DiffType CHANGED_LINES
Deprecated. 

ADDED_WORDS

public static final DiffType ADDED_WORDS
Deprecated. 

DELETED_WORDS

public static final DiffType DELETED_WORDS
Deprecated. 

CHANGED_WORDS

public static final DiffType CHANGED_WORDS
Deprecated. 

ADDED_CHARACTERS

public static final DiffType ADDED_CHARACTERS
Deprecated. 

DELETED_CHARACTERS

public static final DiffType DELETED_CHARACTERS
Deprecated. 
Method Detail

values

public static DiffType[] values()
Deprecated. 
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)
Deprecated. 
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()
Deprecated. 

getStyle

public String getStyle()
Deprecated. 

isChangedLineType

public boolean isChangedLineType()
Deprecated. 


Copyright © 2003–2015 Atlassian. All rights reserved.