Class AuditLogFactoryImpl

    • Constructor Detail

      • AuditLogFactoryImpl

        public AuditLogFactoryImpl()
    • Method Detail

      • setSqlRunner

        public void setSqlRunner​(@NotNull
                                 SQLRunnerEx sqlRunner)
      • setSecurityContext

        public void setSecurityContext​(@NotNull
                                       SecurityContext securityContext)
      • setCommentManager

        public void setCommentManager​(@NotNull
                                      CommentManager commentManager)
      • createForAgentType

        @NotNull
        public AuditLog createForAgentType​(@NotNull
                                           SAgentType agentType)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified agent type
        Specified by:
        createForAgentType in interface AuditLogFactory
        Parameters:
        agentType - agent type
        Returns:
        audit log for the specified agent type
      • createForBuild

        @NotNull
        public AuditLog createForBuild​(@NotNull
                                       SBuild build)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified build
        Specified by:
        createForBuild in interface AuditLogFactory
        Parameters:
        build - build
        Returns:
        audit log for the specified build
      • createForBuildPromotion

        @NotNull
        public AuditLog createForBuildPromotion​(@NotNull
                                                BuildPromotion buildPromotion)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified build promotion
        Specified by:
        createForBuildPromotion in interface AuditLogFactory
        Parameters:
        buildPromotion - build promotion
        Returns:
        audit log for the specified build promotion
      • createForBuildType

        @NotNull
        public AuditLog createForBuildType​(@NotNull
                                           BuildType buildType)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified build type
        Specified by:
        createForBuildType in interface AuditLogFactory
        Parameters:
        buildType - build type
        Returns:
        audit log for the specified build type
      • createForBuildTypeWithId

        @NotNull
        public AuditLog createForBuildTypeWithId​(@NotNull
                                                 String buildTypeId)
        Description copied from interface: AuditLogFactory
        Returns audit log for the build type with the specified internal id
        Specified by:
        createForBuildTypeWithId in interface AuditLogFactory
        Parameters:
        buildTypeId - build type internal id
        Returns:
        audit log for the specified build type
      • createForBuildTypeTemplate

        @NotNull
        public AuditLog createForBuildTypeTemplate​(@NotNull
                                                   BuildTypeTemplate buildTypeTemplate)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified build type template
        Specified by:
        createForBuildTypeTemplate in interface AuditLogFactory
        Parameters:
        buildTypeTemplate - build type template
        Returns:
        audit log for the specified build type template
      • createForUser

        @NotNull
        public AuditLog createForUser​(@NotNull
                                      User user)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified user
        Specified by:
        createForUser in interface AuditLogFactory
        Parameters:
        user - user
        Returns:
        audit log for the specified user
      • createForProject

        @NotNull
        public AuditLog createForProject​(@NotNull
                                         SProject project)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified project
        Specified by:
        createForProject in interface AuditLogFactory
        Parameters:
        project - project
        Returns:
        audit log for the specified project
      • createForVcsRoot

        @NotNull
        public AuditLog createForVcsRoot​(@NotNull
                                         SVcsRoot vcsRoot)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified vcs root
        Specified by:
        createForVcsRoot in interface AuditLogFactory
        Parameters:
        vcsRoot - vcs root
        Returns:
        audit log for the specified vcs root
      • createForRole

        @NotNull
        public AuditLog createForRole​(@NotNull
                                      Role role)
        Description copied from interface: AuditLogFactory
        Returns audit log for user role
        Specified by:
        createForRole in interface AuditLogFactory
        Parameters:
        role - role
        Returns:
        audit log for user role
      • createFor

        @NotNull
        public AuditLog createFor​(@NotNull
                                  ObjectType objectType,
                                  @NotNull
                                  String objectId)
        Description copied from interface: AuditLogFactory
        Returns audit log for the specified object
        Specified by:
        createFor in interface AuditLogFactory
        Parameters:
        objectType - object type
        objectId - object id
        Returns:
        audit log for the specified object