public class SimpleLogEntry extends Object implements LogEntry
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() |
String |
getUsFormattedDate() |
void |
logTo(BuildLogger buildLogger) |
String |
toString() |
public SimpleLogEntry(@NotNull String log)
public String getFormattedDate()
getFormattedDate
in interface LogEntry
public String getUsFormattedDate()
getUsFormattedDate
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.