public class SimpleLogEntry extends Object implements LogEntry
Modifier and Type | Field and Description |
---|---|
static String |
DATE_FORMAT_STRING
Deprecated.
use
LogEntryDateFormats.DATE_FORMAT_STRING instead |
Constructor and Description |
---|
SimpleLogEntry(String log) |
SimpleLogEntry(String log,
Date time) |
Modifier and Type | Method and Description |
---|---|
LogEntry |
cloneAndMutate(String newUnstyledLog)
Return new instance of LogEntry with log string replaced.
|
String |
getCssStyle() |
Date |
getDate() |
String |
getFormattedDate() |
String |
getLog() |
String |
getUnstyledLog() |
void |
logTo(BuildLogger buildLogger) |
String |
toString() |
@NonNls @Deprecated public static final String DATE_FORMAT_STRING
LogEntryDateFormats.DATE_FORMAT_STRING
insteadpublic SimpleLogEntry(@NotNull String log)
public String getFormattedDate()
getFormattedDate
in interface LogEntry
public void logTo(BuildLogger buildLogger)
@Nullable public String getCssStyle()
getCssStyle
in interface LogEntry
@NotNull public String getUnstyledLog()
getUnstyledLog
in interface LogEntry
public LogEntry cloneAndMutate(String newUnstyledLog)
LogEntry
cloneAndMutate
in interface LogEntry
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.