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 StringHTML_NEWLINEstatic StringNEWLINE
-
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 LogEntrycloneAndMutate(String newUnstyledLog)Return new instance of LogEntry with log string replaced.StringgetCssStyle()StringgetLog()-
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:
getLogin interfaceLogEntry- Overrides:
getLogin classSimpleLogEntry
-
getCssStyle
public String getCssStyle()
- Specified by:
getCssStylein interfaceLogEntry- Overrides:
getCssStylein classSimpleLogEntry
-
cloneAndMutate
public LogEntry cloneAndMutate(String newUnstyledLog)
Description copied from interface:LogEntryReturn new instance of LogEntry with log string replaced.- Specified by:
cloneAndMutatein interfaceLogEntry- Overrides:
cloneAndMutatein classSimpleLogEntry- Returns:
-
-