|
||||||||||
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 |
startStreamingBuildLogs(PlanResultKey planResultKey)
Begin streaming any logs to build logs file |
void |
stopStreamingBuildLogs()
Stop streaming any logs to the build logs file |
Methods inherited from class com.atlassian.bamboo.build.logger.BuildLoggerImpl |
---|
addBuildLogEntry, addBuildLogHeader, addErrorLogEntry, addErrorLogEntry, close, getBuildLog, getErrorLog, getInterceptorStack, getLastNLogEntries, getStringErrorLogs, getTimeOfLastLog |
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 |
---|
@NotNull public java.lang.String addBuildLogEntry(@NotNull LogEntry logEntry)
BuildLogger
addBuildLogEntry
in interface BuildLogger
addBuildLogEntry
in class BuildLoggerImpl
logEntry
- The data being logged
LogEntry.getUnstyledLog()
.@NotNull public java.lang.String addErrorLogEntry(@NotNull LogEntry logEntry)
BuildLogger
addErrorLogEntry
in interface BuildLogger
addErrorLogEntry
in class BuildLoggerImpl
logEntry
- The data being logged
LogEntry.getUnstyledLog()
.public void startStreamingBuildLogs(@NotNull PlanResultKey planResultKey)
BuildLogger
startStreamingBuildLogs
in interface BuildLogger
startStreamingBuildLogs
in class BuildLoggerImpl
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 |