com.atlassian.jira.web.util
Class ChangeHistoryUtils
java.lang.Object
com.atlassian.jira.web.util.ChangeHistoryUtils
public class ChangeHistoryUtils
- extends Object
Method Summary |
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:
[Field] changed from [foo] to [bar]
[Field] set to [foo]
[Version] [X] was added
[Version] [Y] was removed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHANGED_FROM
public static final String CHANGED_FROM
- See Also:
- Constant Field Values
TO
public static final String TO
- See Also:
- Constant Field Values
SET_TO
public static final String SET_TO
- See Also:
- Constant Field Values
WAS_ADDED
public static final String WAS_ADDED
- See Also:
- Constant Field Values
WAS_REMOVED
public static final String WAS_REMOVED
- See Also:
- Constant Field Values
LINE_ENDING
public static final String LINE_ENDING
- See Also:
- Constant Field Values
TERMINATOR
public static final String TERMINATOR
- See Also:
- Constant Field Values
TERMINATOR_BR
public static final String TERMINATOR_BR
- See Also:
- Constant Field Values
ChangeHistoryUtils
public ChangeHistoryUtils()
highlight
public static String highlight(String body,
String colour)
- Highlight a change log by breaking it into separate lines and highlighting each one
highlightLine
public static String highlightLine(String line,
String colour)
- There are a few different types of change logs, each appearing on separate lines:
[Field] changed from [foo] to [bar]
[Field] set to [foo]
[Version] [X] was added
[Version] [Y] was removed
Copyright © 2002-2012 Atlassian. All Rights Reserved.