Interface BuildLoggerManager

    • Method Detail

      • getLogger

        @NotNull
        @NotNull BuildLogger getLogger​(@NotNull
                                       @NotNull Key key)
        Returns a BuildLogger for the given plan
        Parameters:
        key -
      • getLogger

        @NotNull
        @NotNull BuildLogger getLogger​(@NotNull
                                       @NotNull ResultKey resultKey)
        Returns a BuildLogger for the given result. Does not guarantee a persistent logger.
        Parameters:
        resultKey -
        Returns:
      • removeBuildLogger

        void removeBuildLogger​(PlanKey planKey)
        Removes plan logger for given plan key.
        Parameters:
        planKey -
      • removeBuildLogger

        void removeBuildLogger​(PlanResultKey buildResultKey)
        Removes buildLogger for finished build process. Removed build logger is not used anymore as build has been finished and build result should be persisted already.
        Parameters:
        buildResultKey -
      • removeLogger

        void removeLogger​(@NotNull
                          @NotNull ResultKey resultKey)
        Remove a logger if you are finished with it.
        Parameters:
        resultKey -
      • removeLogger

        <T extends Key> void removeLogger​(LoggerId<T> loggerId)
        Remove a logger if you are finished with it.
        Parameters:
        loggerId - of the logger to remove
      • transferLogs

        void transferLogs​(BuildLogger buildLogger,
                          CommonContext context)
        Transfers log to the final location. Called when the build/deployment is finished.