Class LazyBuildLogFileWriterImpl
- java.lang.Object
-
- com.atlassian.bamboo.build.logger.LazyBuildLogFileWriterImpl
-
- All Implemented Interfaces:
LazyBuildLogFileWriter
@NotThreadSafe public class LazyBuildLogFileWriterImpl extends Object implements LazyBuildLogFileWriter
WrapsBuildLogFileWriter
with a lazy reference. This class is deliberately made not thread safe.
-
-
Constructor Summary
Constructors Constructor Description LazyBuildLogFileWriterImpl(File logFile, ExpiryTicker expiryTicker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
write(LogEntry logEntry)
void
writeVerbatim(String text)
-
-
-
Constructor Detail
-
LazyBuildLogFileWriterImpl
public LazyBuildLogFileWriterImpl(File logFile, ExpiryTicker expiryTicker)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceLazyBuildLogFileWriter
-
write
public void write(LogEntry logEntry)
- Specified by:
write
in interfaceLazyBuildLogFileWriter
-
writeVerbatim
public void writeVerbatim(String text)
- Specified by:
writeVerbatim
in interfaceLazyBuildLogFileWriter
-
flush
public void flush()
- Specified by:
flush
in interfaceLazyBuildLogFileWriter
-
-