public class RemoteBuildLoggerManager extends Object implements BuildLoggerManager
Constructor and Description |
---|
RemoteBuildLoggerManager() |
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 |
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,
BuildContext buildContext)
Transfers log to the final location.
|
@NotNull public BuildLogger getLogger(@NotNull Key key)
BuildLoggerManager
BuildLogger
for the given plangetLogger
in interface BuildLoggerManager
@NotNull public BuildLogger getLogger(@NotNull ResultKey resultKey)
BuildLoggerManager
BuildLogger
for the given resultgetLogger
in interface BuildLoggerManager
public void removeBuildLogger(PlanKey planKey)
BuildLoggerManager
removeBuildLogger
in interface BuildLoggerManager
public void removeBuildLogger(PlanResultKey buildResultKey)
BuildLoggerManager
removeBuildLogger
in interface BuildLoggerManager
public void removeLogger(@NotNull ResultKey resultKey)
BuildLoggerManager
removeLogger
in interface BuildLoggerManager
public void removeLogger(LoggerId loggerId)
BuildLoggerManager
removeLogger
in interface BuildLoggerManager
loggerId
- of the logger to removepublic void transferLogs(BuildLogger buildLogger, BuildContext buildContext)
BuildLoggerManager
transferLogs
in interface BuildLoggerManager
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.