Interface AuditLogFactory

  • All Known Implementing Classes:
    AuditLogFactoryImpl

    public interface AuditLogFactory
    Factory for audit log objects
    Author:
    Maxim.Manuylov Date: 24.04.2009
    • Method Detail

      • createForAgent

        @NotNull
        AuditLog createForAgent​(@NotNull
                                SBuildAgent agent)
        Returns audit log for the specified agent
        Parameters:
        agent - agent
        Returns:
        audit log for the specified agent
      • createForAgentType

        @NotNull
        AuditLog createForAgentType​(@NotNull
                                    SAgentType agentType)
        Returns audit log for the specified agent type
        Parameters:
        agentType - agent type
        Returns:
        audit log for the specified agent type
      • createForBuild

        @NotNull
        AuditLog createForBuild​(@NotNull
                                SBuild build)
        Returns audit log for the specified build
        Parameters:
        build - build
        Returns:
        audit log for the specified build
      • createForBuildPromotion

        @NotNull
        AuditLog createForBuildPromotion​(@NotNull
                                         BuildPromotion buildPromotion)
        Returns audit log for the specified build promotion
        Parameters:
        buildPromotion - build promotion
        Returns:
        audit log for the specified build promotion
      • createForBuildType

        @NotNull
        AuditLog createForBuildType​(@NotNull
                                    BuildType buildType)
        Returns audit log for the specified build type
        Parameters:
        buildType - build type
        Returns:
        audit log for the specified build type
      • createForBuildTypeWithId

        @NotNull
        AuditLog createForBuildTypeWithId​(@NotNull
                                          String buildTypeId)
        Returns audit log for the build type with the specified internal id
        Parameters:
        buildTypeId - build type internal id
        Returns:
        audit log for the specified build type
      • createForBuildTypeTemplate

        @NotNull
        AuditLog createForBuildTypeTemplate​(@NotNull
                                            BuildTypeTemplate buildTypeTemplate)
        Returns audit log for the specified build type template
        Parameters:
        buildTypeTemplate - build type template
        Returns:
        audit log for the specified build type template
        Since:
        6.5
      • createForUser

        @NotNull
        AuditLog createForUser​(@NotNull
                               User user)
        Returns audit log for the specified user
        Parameters:
        user - user
        Returns:
        audit log for the specified user
      • createForProject

        @NotNull
        AuditLog createForProject​(@NotNull
                                  SProject project)
        Returns audit log for the specified project
        Parameters:
        project - project
        Returns:
        audit log for the specified project
      • createForVcsRoot

        @NotNull
        AuditLog createForVcsRoot​(@NotNull
                                  SVcsRoot vcsRoot)
        Returns audit log for the specified vcs root
        Parameters:
        vcsRoot - vcs root
        Returns:
        audit log for the specified vcs root
      • createForServer

        @NotNull
        AuditLog createForServer()
        Returns audit log for server
        Returns:
        audit log for server
      • createForUserGroup

        @NotNull
        AuditLog createForUserGroup​(@NotNull
                                    UserGroup userGroup)
        Returns audit log for user group
        Parameters:
        userGroup - user group
        Returns:
        audit log for user group
      • createForRole

        @NotNull
        AuditLog createForRole​(@NotNull
                               Role role)
        Returns audit log for user role
        Parameters:
        role - role
        Returns:
        audit log for user role
      • createForTest

        @NotNull
        AuditLog createForTest​(@NotNull
                               STest test)
        Returns audit log for test
        Parameters:
        test - test
        Returns:
        audit log for test
      • createForAgentPool

        @NotNull
        AuditLog createForAgentPool​(@NotNull
                                    AgentPool agentPool)
        Returns audit log for agent pool
        Parameters:
        agentPool - agent pool
        Returns:
        audit log for agent pool
      • createForBuildProblem

        @NotNull
        AuditLog createForBuildProblem​(@NotNull
                                       BuildProblemInfo buildProblem)
        Returns audit log for build problems
        Parameters:
        buildProblem - build problem
        Returns:
        see above
      • createFor

        @NotNull
        AuditLog createFor​(@NotNull
                           ObjectType objectType,
                           @NotNull
                           String objectId)
        Returns audit log for the specified object
        Parameters:
        objectType - object type
        objectId - object id
        Returns:
        audit log for the specified object