Class RemoteBuildLoggerManager
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildLoggerManager
- All Implemented Interfaces:
BuildLoggerManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildLoggerReturns aBuildLoggerfor the given plan@NotNull BuildLoggerReturns aBuildLoggerfor the given result.<T extends Key>
@NotNull BuildLoggerWithoutLogAccessgetLoggerWithoutLogAccess(@NotNull LoggerId<T> loggerId) Returns aBuildLoggerWithoutLogAccessfor the givenLoggerId@NotNull BuildLoggerWithoutLogAccessgetLoggerWithoutLogAccess(@NotNull Key key) Returns aBuildLoggerWithoutLogAccessfor the given resultvoidremoveBuildLogger(PlanKey planKey) Removes plan logger for given plan key.voidremoveBuildLogger(PlanResultKey buildResultKey) Removes buildLogger for finished build process.voidremoveLogger(@NotNull ResultKey resultKey) Remove a logger if you are finished with it.voidremoveLogger(LoggerId loggerId) Remove a logger if you are finished with it.voidtransferLogs(BuildLogger buildLogger, CommonContext context) Transfers log to the final location.
-
Constructor Details
-
RemoteBuildLoggerManager
public RemoteBuildLoggerManager()
-
-
Method Details
-
getLogger
Description copied from interface:BuildLoggerManagerReturns aBuildLoggerfor the given plan- Specified by:
getLoggerin interfaceBuildLoggerManager
-
getLogger
Description copied from interface:BuildLoggerManagerReturns aBuildLoggerfor the given result. Does not guarantee a persistent logger.- Specified by:
getLoggerin interfaceBuildLoggerManager- Returns:
-
getLoggerWithoutLogAccess
@NotNull public <T extends Key> @NotNull BuildLoggerWithoutLogAccess getLoggerWithoutLogAccess(@NotNull @NotNull LoggerId<T> loggerId) Description copied from interface:BuildLoggerManagerReturns aBuildLoggerWithoutLogAccessfor the givenLoggerId- Specified by:
getLoggerWithoutLogAccessin interfaceBuildLoggerManager
-
getLoggerWithoutLogAccess
@NotNull public @NotNull BuildLoggerWithoutLogAccess getLoggerWithoutLogAccess(@NotNull @NotNull Key key) Description copied from interface:BuildLoggerManagerReturns aBuildLoggerWithoutLogAccessfor the given result- Specified by:
getLoggerWithoutLogAccessin interfaceBuildLoggerManager- Returns:
-
removeBuildLogger
Description copied from interface:BuildLoggerManagerRemoves plan logger for given plan key.- Specified by:
removeBuildLoggerin interfaceBuildLoggerManager
-
removeBuildLogger
Description copied from interface:BuildLoggerManagerRemoves buildLogger for finished build process. Removed build logger is not used anymore as build has been finished and build result should be persisted already.- Specified by:
removeBuildLoggerin interfaceBuildLoggerManager
-
removeLogger
Description copied from interface:BuildLoggerManagerRemove a logger if you are finished with it.- Specified by:
removeLoggerin interfaceBuildLoggerManager
-
removeLogger
Description copied from interface:BuildLoggerManagerRemove a logger if you are finished with it.- Specified by:
removeLoggerin interfaceBuildLoggerManager- Parameters:
loggerId- of the logger to remove
-
transferLogs
Description copied from interface:BuildLoggerManagerTransfers log to the final location. Called when the build/deployment is finished.- Specified by:
transferLogsin interfaceBuildLoggerManager
-