com.atlassian.bamboo.build
Class SimpleLogEntry

java.lang.Object
  extended by com.atlassian.bamboo.build.SimpleLogEntry
All Implemented Interfaces:
LogEntry, java.io.Serializable
Direct Known Subclasses:
BuildOutputLogEntry, CommandLogEntry, ErrorLogEntry

public class SimpleLogEntry
extends java.lang.Object
implements LogEntry

Simple POJO for representing build build events.

See Also:
Serialized Form

Field Summary
static java.lang.String DATE_FORMAT_STRING
           
 
Constructor Summary
SimpleLogEntry(java.lang.String log)
           
SimpleLogEntry(java.lang.String log, java.util.Date time)
           
 
Method Summary
 java.lang.String getCssStyle()
           
 java.util.Date getDate()
           
 java.lang.String getFormattedDate()
           
 java.lang.String getLog()
           
 java.lang.String getUnstyledLog()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATE_FORMAT_STRING

@NonNls
public static final java.lang.String DATE_FORMAT_STRING
See Also:
Constant Field Values
Constructor Detail

SimpleLogEntry

public SimpleLogEntry(@NotNull
                      java.lang.String log)

SimpleLogEntry

public SimpleLogEntry(@NotNull
                      java.lang.String log,
                      java.util.Date time)
Method Detail

getFormattedDate

public java.lang.String getFormattedDate()
Specified by:
getFormattedDate in interface LogEntry

getDate

public java.util.Date getDate()
Specified by:
getDate in interface LogEntry

getLog

public java.lang.String getLog()
Specified by:
getLog in interface LogEntry

getCssStyle

@Nullable
public java.lang.String getCssStyle()
Specified by:
getCssStyle in interface LogEntry

getUnstyledLog

@NotNull
public java.lang.String getUnstyledLog()
Specified by:
getUnstyledLog in interface LogEntry

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 Atlassian. All Rights Reserved.