com.atlassian.jira.web.util
Class ChangeHistoryUtils
java.lang.Object
com.atlassian.jira.web.util.ChangeHistoryUtils
- public class ChangeHistoryUtils
- extends java.lang.Object
Method Summary |
static java.lang.String |
highlight(java.lang.String body,
java.lang.String colour)
Highlight a change log by breaking it into separate lines and highlighting each one |
static java.lang.String |
highlightLine(java.lang.String line,
java.lang.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 java.lang.String CHANGED_FROM
- See Also:
- Constant Field Values
TO
public static final java.lang.String TO
- See Also:
- Constant Field Values
SET_TO
public static final java.lang.String SET_TO
- See Also:
- Constant Field Values
WAS_ADDED
public static final java.lang.String WAS_ADDED
- See Also:
- Constant Field Values
WAS_REMOVED
public static final java.lang.String WAS_REMOVED
- See Also:
- Constant Field Values
LINE_ENDING
public static final java.lang.String LINE_ENDING
- See Also:
- Constant Field Values
TERMINATOR
public static final java.lang.String TERMINATOR
- See Also:
- Constant Field Values
TERMINATOR_BR
public static final java.lang.String TERMINATOR_BR
- See Also:
- Constant Field Values
ChangeHistoryUtils
public ChangeHistoryUtils()
highlight
public static java.lang.String highlight(java.lang.String body,
java.lang.String colour)
- Highlight a change log by breaking it into separate lines and highlighting each one
highlightLine
public static java.lang.String highlightLine(java.lang.String line,
java.lang.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-2005 Atlassian. All Rights Reserved.