Package com.atlassian.bamboo.build
Class ErrorLogEntry
- java.lang.Object
-
- com.atlassian.bamboo.build.SimpleLogEntry
-
- com.atlassian.bamboo.build.ErrorLogEntry
-
- All Implemented Interfaces:
LogEntry
,Serializable
public class ErrorLogEntry extends SimpleLogEntry
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorLogEntry(@NotNull String log)
ErrorLogEntry(@NotNull String log, @Nullable Date time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntry
cloneAndMutate(String newUnstyledLog)
Return new instance of LogEntry with log string replaced.String
getCssStyle()
void
logTo(BuildLogger buildLogger)
-
Methods inherited from class com.atlassian.bamboo.build.SimpleLogEntry
getDate, getFormattedDate, getLog, getUnstyledLog, getUsFormattedDate, toString
-
-
-
-
Method Detail
-
getCssStyle
public String getCssStyle()
- Specified by:
getCssStyle
in interfaceLogEntry
- Overrides:
getCssStyle
in classSimpleLogEntry
-
logTo
public void logTo(BuildLogger buildLogger)
- Specified by:
logTo
in interfaceLogEntry
- Overrides:
logTo
in classSimpleLogEntry
-
cloneAndMutate
public LogEntry cloneAndMutate(String newUnstyledLog)
Description copied from interface:LogEntry
Return new instance of LogEntry with log string replaced.- Specified by:
cloneAndMutate
in interfaceLogEntry
- Overrides:
cloneAndMutate
in classSimpleLogEntry
- Returns:
-
-