Package com.atlassian.bamboo.build
Interface ServerBuildLoggerManager
-
- All Superinterfaces:
BuildLoggerManager
- All Known Implementing Classes:
DefaultBuildLoggerManager
@Internal public interface ServerBuildLoggerManager extends BuildLoggerManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull FileWritingBuildLogger
getFileWritingLogger(@NotNull LoggerId<? extends Key> loggerId)
Returns aBuildLogger
.@NotNull FileWritingBuildLogger
getNonPersistentLogger(@NotNull ResultKey resultKey)
Returns aBuildLogger
for the given result.@NotNull FileWritingBuildLogger
getPersistentLogger(@NotNull ResultKey resultKey)
Returns aBuildLogger
for the given result.-
Methods inherited from interface com.atlassian.bamboo.build.BuildLoggerManager
getLogger, getLogger, getLoggerWithoutLogAccess, getLoggerWithoutLogAccess, removeBuildLogger, removeBuildLogger, removeLogger, removeLogger, transferLogs
-
-
-
-
Method Detail
-
getPersistentLogger
@Internal @NotNull @NotNull FileWritingBuildLogger getPersistentLogger(@NotNull @NotNull ResultKey resultKey)
Returns aBuildLogger
for the given result. Enforces switching logger to persistent if current logger is not persistent. Internal use only.- Parameters:
resultKey
-
-
getNonPersistentLogger
@Internal @NotNull @NotNull FileWritingBuildLogger getNonPersistentLogger(@NotNull @NotNull ResultKey resultKey)
Returns aBuildLogger
for the given result. Enforces switching logger to non persistent if current logger is persistent. Internal use only.- Parameters:
resultKey
-
-
getFileWritingLogger
@Internal @NotNull @NotNull FileWritingBuildLogger getFileWritingLogger(@NotNull @NotNull LoggerId<? extends Key> loggerId)
Returns aBuildLogger
. Enforces switching persistence on/off if necessary. Internal use only.- Parameters:
loggerId
-
-
-