public class SimpleLogEntry extends Object implements LogEntry
| Constructor and Description |
|---|
SimpleLogEntry(@NotNull String log) |
SimpleLogEntry(@NotNull String log,
@Nullable Date time) |
| Modifier and Type | Method and Description |
|---|---|
LogEntry |
cloneAndMutate(String newUnstyledLog)
Return new instance of LogEntry with log string replaced.
|
@Nullable String |
getCssStyle() |
@NotNull Date |
getDate() |
String |
getFormattedDate() |
String |
getLog() |
@NotNull String |
getUnstyledLog() |
String |
getUsFormattedDate() |
void |
logTo(BuildLogger buildLogger) |
String |
toString() |
public SimpleLogEntry(@NotNull
@NotNull String log)
public String getFormattedDate()
getFormattedDate in interface LogEntrypublic String getUsFormattedDate()
getUsFormattedDate in interface LogEntrypublic void logTo(BuildLogger buildLogger)
@Nullable public @Nullable String getCssStyle()
getCssStyle in interface LogEntry@NotNull public @NotNull String getUnstyledLog()
getUnstyledLog in interface LogEntrypublic LogEntry cloneAndMutate(String newUnstyledLog)
LogEntrycloneAndMutate in interface LogEntryCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.