public class ChangeHistoryUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CHANGED_FROM |
static String |
LINE_ENDING |
static String |
SET_TO |
static String |
TERMINATOR |
static String |
TERMINATOR_BR |
static String |
TO |
static String |
WAS_ADDED |
static String |
WAS_REMOVED |
Constructor and Description |
---|
ChangeHistoryUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
highlight(String body,
String colour)
Highlight a change log by breaking it into separate lines and highlighting each one
|
static String |
highlightLine(String line,
String colour)
There are a few different types of change logs, each appearing on separate lines:
|
public static final String CHANGED_FROM
public static final String TO
public static final String SET_TO
public static final String WAS_ADDED
public static final String WAS_REMOVED
public static final String LINE_ENDING
public static final String TERMINATOR
public static final String TERMINATOR_BR
Copyright © 2002-2022 Atlassian. All Rights Reserved.