Package com.atlassian.bamboo.build
Class SimpleLogEntry
java.lang.Object
com.atlassian.bamboo.build.SimpleLogEntry
- All Implemented Interfaces:
LogEntry
,Serializable
- Direct Known Subclasses:
BuildOutputLogEntry
,CommandLogEntry
,ErrorLogEntry
Simple POJO for representing build build events.
- See Also:
-
Constructor Summary
ConstructorDescriptionSimpleLogEntry
(@NotNull String log) SimpleLogEntry
(@NotNull String log, @Nullable Date time) -
Method Summary
Modifier and TypeMethodDescriptioncloneAndMutate
(String newUnstyledLog) Return new instance of LogEntry with log string replaced.@Nullable String
@NotNull Date
getDate()
getLog()
@NotNull String
void
logTo
(BuildLogger buildLogger) toString()
-
Constructor Details
-
SimpleLogEntry
-
SimpleLogEntry
-
-
Method Details
-
getFormattedDate
- Specified by:
getFormattedDate
in interfaceLogEntry
-
getUsFormattedDate
- Specified by:
getUsFormattedDate
in interfaceLogEntry
-
getDate
-
logTo
-
getLog
-
getCssStyle
- Specified by:
getCssStyle
in interfaceLogEntry
-
getUnstyledLog
- Specified by:
getUnstyledLog
in interfaceLogEntry
-
toString
-
cloneAndMutate
Description copied from interface:LogEntry
Return new instance of LogEntry with log string replaced.- Specified by:
cloneAndMutate
in interfaceLogEntry
- Returns:
-