Package com.atlassian.bamboo.build
Class CommandLogEntry
- java.lang.Object
-
- com.atlassian.bamboo.build.SimpleLogEntry
-
- com.atlassian.bamboo.build.CommandLogEntry
-
- All Implemented Interfaces:
LogEntry
,Serializable
public class CommandLogEntry extends SimpleLogEntry
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
HTML_NEWLINE
static String
NEWLINE
-
Constructor Summary
Constructors Constructor Description CommandLogEntry(@NotNull String log)
CommandLogEntry(@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()
String
getLog()
-
Methods inherited from class com.atlassian.bamboo.build.SimpleLogEntry
getDate, getFormattedDate, getUnstyledLog, getUsFormattedDate, logTo, toString
-
-
-
-
Field Detail
-
NEWLINE
public static final String NEWLINE
- See Also:
- Constant Field Values
-
HTML_NEWLINE
public static final String HTML_NEWLINE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLog
public String getLog()
- Specified by:
getLog
in interfaceLogEntry
- Overrides:
getLog
in classSimpleLogEntry
-
getCssStyle
public String getCssStyle()
- Specified by:
getCssStyle
in interfaceLogEntry
- Overrides:
getCssStyle
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:
-
-