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
ConstructorsConstructorDescriptionSimpleLogEntry(@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 DategetDate()getLog()@NotNull StringvoidlogTo(BuildLogger buildLogger) toString()
-
Constructor Details
-
SimpleLogEntry
-
SimpleLogEntry
-
-
Method Details
-
getFormattedDate
- Specified by:
getFormattedDatein interfaceLogEntry
-
getUsFormattedDate
- Specified by:
getUsFormattedDatein interfaceLogEntry
-
getDate
-
logTo
-
getLog
-
getCssStyle
- Specified by:
getCssStylein interfaceLogEntry
-
getUnstyledLog
- Specified by:
getUnstyledLogin interfaceLogEntry
-
toString
-
cloneAndMutate
Description copied from interface:LogEntryReturn new instance of LogEntry with log string replaced.- Specified by:
cloneAndMutatein interfaceLogEntry- Returns:
-