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