com.atlassian.bamboo.v2.build.agent.remote
Class RemoteBuildLogger
java.lang.Object
com.atlassian.bamboo.build.logger.AbstractBuildLogger
com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLogger
- All Implemented Interfaces:
- BuildLogger
public class RemoteBuildLogger
- extends AbstractBuildLogger
Methods inherited from class com.atlassian.bamboo.build.logger.AbstractBuildLogger |
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 |
RemoteBuildLogger
@Deprecated
public RemoteBuildLogger(java.lang.String buildPlanKey,
BambooAgentMessageSender sender)
- Deprecated.
RemoteBuildLogger
public RemoteBuildLogger(LoggerId<? extends java.io.Serializable> loggerId,
BambooAgentMessageSender sender)
addBuildLogEntry
@NotNull
public java.lang.String addBuildLogEntry(@NotNull
LogEntry logEntry)
- Description copied from interface:
BuildLogger
- Add a new build log entry. This will get appended to the end of the log.
- Specified by:
addBuildLogEntry
in interface BuildLogger
- Overrides:
addBuildLogEntry
in class AbstractBuildLogger
- Parameters:
logEntry
- The data being logged
- Returns:
- The line of text being logged. From
LogEntry.getUnstyledLog()
.
addErrorLogEntry
@NotNull
public java.lang.String addErrorLogEntry(@NotNull
LogEntry logEntry)
- Description copied from interface:
BuildLogger
- Add a new build error log entry. This will get appended to the end of the log and to the end of the errors.
- Specified by:
addErrorLogEntry
in interface BuildLogger
- Overrides:
addErrorLogEntry
in class AbstractBuildLogger
- Parameters:
logEntry
- The data being logged
- Returns:
- The line of text being logged. From
LogEntry.getUnstyledLog()
.
onAddLogEntry
public void onAddLogEntry(@NotNull
LogEntry logEntry)
- Specified by:
onAddLogEntry
in class AbstractBuildLogger
stopStreamingBuildLogs
public void stopStreamingBuildLogs()
- Description copied from interface:
BuildLogger
- Stop streaming any logs to the build logs file
- Specified by:
stopStreamingBuildLogs
in interface BuildLogger
- Specified by:
stopStreamingBuildLogs
in class AbstractBuildLogger
clearBuildLog
public void clearBuildLog()
- Description copied from interface:
BuildLogger
- Reset the build log, ready for the next build
- Specified by:
clearBuildLog
in interface BuildLogger
- Overrides:
clearBuildLog
in class AbstractBuildLogger
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.