|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.logger.BuildLoggerImpl com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLogger
public class RemoteBuildLogger
Constructor Summary | |
---|---|
RemoteBuildLogger(java.lang.String buildPlanKey,
BambooAgentMessageSender sender)
|
Method Summary | |
---|---|
java.lang.String |
addBuildLogEntry(LogEntry logEntry)
Add a new build log entry. |
java.lang.String |
addErrorLogEntry(LogEntry logEntry)
Add a new build error log entry. |
void |
clearBuildLog()
Reset the build log, ready for the next build |
void |
stopStreamingBuildLogs()
Stop streaming any logs to the build logs file |
Methods inherited from class com.atlassian.bamboo.build.logger.BuildLoggerImpl |
---|
addBuildLogEntry, addBuildLogHeader, addErrorLogEntry, getBuildLog, getErrorLog, getLastNLogEntries, getStringErrorLogs, getTimeOfLastLog, startStreamingBuildLogs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteBuildLogger(java.lang.String buildPlanKey, BambooAgentMessageSender sender)
Method Detail |
---|
public java.lang.String addBuildLogEntry(LogEntry logEntry)
BuildLogger
addBuildLogEntry
in interface BuildLogger
addBuildLogEntry
in class BuildLoggerImpl
logEntry
- The data being logged
LogEntry.getUnstyledLog()
.public java.lang.String addErrorLogEntry(LogEntry logEntry)
BuildLogger
addErrorLogEntry
in interface BuildLogger
addErrorLogEntry
in class BuildLoggerImpl
logEntry
- The data being logged
LogEntry.getUnstyledLog()
.public void stopStreamingBuildLogs()
BuildLogger
stopStreamingBuildLogs
in interface BuildLogger
stopStreamingBuildLogs
in class BuildLoggerImpl
public void clearBuildLog()
BuildLogger
clearBuildLog
in interface BuildLogger
clearBuildLog
in class BuildLoggerImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |