public interface BuildLoggerManager
BuildLogger
Modifier and Type | Method and Description |
---|---|
BuildLogger |
getLogger(Key key)
Returns a
BuildLogger for the given plan |
BuildLogger |
getLogger(ResultKey resultKey)
Returns a
BuildLogger for the given result. |
BuildLoggerWithoutLogAccess |
getLoggerWithoutLogAccess(Key resultKey)
Returns a
BuildLoggerWithoutLogAccess for the given result |
<T extends Key> |
getLoggerWithoutLogAccess(LoggerId<T> loggerId)
Returns a
BuildLoggerWithoutLogAccess for the given LoggerId |
void |
removeBuildLogger(PlanKey planKey)
Removes plan logger for given plan key.
|
void |
removeBuildLogger(PlanResultKey buildResultKey)
Removes buildLogger for finished build process.
|
void |
removeLogger(LoggerId loggerId)
Remove a logger if you are finished with it.
|
void |
removeLogger(ResultKey resultKey)
Remove a logger if you are finished with it.
|
void |
transferLogs(BuildLogger buildLogger,
CommonContext context)
Transfers log to the final location.
|
@NotNull BuildLogger getLogger(@NotNull Key key)
BuildLogger
for the given plankey@return
- @NotNull BuildLogger getLogger(@NotNull ResultKey resultKey)
BuildLogger
for the given result.
Does not guarantee a persistent logger.resultKey
- @NotNull BuildLoggerWithoutLogAccess getLoggerWithoutLogAccess(@NotNull Key resultKey)
BuildLoggerWithoutLogAccess
for the given resultresultKey
- @NotNull <T extends Key> BuildLoggerWithoutLogAccess getLoggerWithoutLogAccess(@NotNull LoggerId<T> loggerId)
BuildLoggerWithoutLogAccess
for the given LoggerId
loggerId
- void removeBuildLogger(PlanKey planKey)
planKey
- void removeBuildLogger(PlanResultKey buildResultKey)
buildResultKey
- void removeLogger(@NotNull ResultKey resultKey)
resultKey
- void removeLogger(LoggerId loggerId)
loggerId
- of the logger to removevoid transferLogs(BuildLogger buildLogger, CommonContext context)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.