Class AuditLogFactoryImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.audit.AuditLogFactoryImpl
-
- All Implemented Interfaces:
AuditLogFactory
public class AuditLogFactoryImpl extends Object implements AuditLogFactory
- Author:
- Maxim.Manuylov Date: 24.04.2009
-
-
Constructor Summary
Constructors Constructor Description AuditLogFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditLogcreateFor(ObjectType objectType, String objectId)Returns audit log for the specified objectAuditLogcreateForAgent(SBuildAgent agent)Returns audit log for the specified agentAuditLogcreateForAgentPool(AgentPool agentPool)Returns audit log for agent poolAuditLogcreateForAgentType(SAgentType agentType)Returns audit log for the specified agent typeAuditLogcreateForBuild(SBuild build)Returns audit log for the specified buildAuditLogcreateForBuildProblem(BuildProblemInfo buildProblem)Returns audit log for build problemsAuditLogcreateForBuildPromotion(BuildPromotion buildPromotion)Returns audit log for the specified build promotionAuditLogcreateForBuildType(BuildType buildType)Returns audit log for the specified build typeAuditLogcreateForBuildTypeTemplate(BuildTypeTemplate buildTypeTemplate)Returns audit log for the specified build type templateAuditLogcreateForBuildTypeWithId(String buildTypeId)Returns audit log for the build type with the specified internal idAuditLogcreateForProject(SProject project)Returns audit log for the specified projectAuditLogcreateForRole(Role role)Returns audit log for user roleAuditLogcreateForServer()Returns audit log for serverAuditLogcreateForTest(STest test)Returns audit log for testAuditLogcreateForUser(User user)Returns audit log for the specified userAuditLogcreateForUserGroup(UserGroup userGroup)Returns audit log for user groupAuditLogcreateForVcsRoot(SVcsRoot vcsRoot)Returns audit log for the specified vcs rootvoidsetCommentManager(CommentManager commentManager)voidsetSecurityContext(SecurityContext securityContext)voidsetSqlRunner(SQLRunnerEx sqlRunner)
-
-
-
Method Detail
-
setSqlRunner
public void setSqlRunner(@NotNull SQLRunnerEx sqlRunner)
-
setSecurityContext
public void setSecurityContext(@NotNull SecurityContext securityContext)
-
setCommentManager
public void setCommentManager(@NotNull CommentManager commentManager)
-
createForAgent
@NotNull public AuditLog createForAgent(@NotNull SBuildAgent agent)
Description copied from interface:AuditLogFactoryReturns audit log for the specified agent- Specified by:
createForAgentin interfaceAuditLogFactory- Parameters:
agent- agent- Returns:
- audit log for the specified agent
-
createForAgentType
@NotNull public AuditLog createForAgentType(@NotNull SAgentType agentType)
Description copied from interface:AuditLogFactoryReturns audit log for the specified agent type- Specified by:
createForAgentTypein interfaceAuditLogFactory- Parameters:
agentType- agent type- Returns:
- audit log for the specified agent type
-
createForBuild
@NotNull public AuditLog createForBuild(@NotNull SBuild build)
Description copied from interface:AuditLogFactoryReturns audit log for the specified build- Specified by:
createForBuildin interfaceAuditLogFactory- Parameters:
build- build- Returns:
- audit log for the specified build
-
createForBuildPromotion
@NotNull public AuditLog createForBuildPromotion(@NotNull BuildPromotion buildPromotion)
Description copied from interface:AuditLogFactoryReturns audit log for the specified build promotion- Specified by:
createForBuildPromotionin interfaceAuditLogFactory- Parameters:
buildPromotion- build promotion- Returns:
- audit log for the specified build promotion
-
createForBuildType
@NotNull public AuditLog createForBuildType(@NotNull BuildType buildType)
Description copied from interface:AuditLogFactoryReturns audit log for the specified build type- Specified by:
createForBuildTypein interfaceAuditLogFactory- Parameters:
buildType- build type- Returns:
- audit log for the specified build type
-
createForBuildTypeWithId
@NotNull public AuditLog createForBuildTypeWithId(@NotNull String buildTypeId)
Description copied from interface:AuditLogFactoryReturns audit log for the build type with the specified internal id- Specified by:
createForBuildTypeWithIdin interfaceAuditLogFactory- 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:AuditLogFactoryReturns audit log for the specified build type template- Specified by:
createForBuildTypeTemplatein interfaceAuditLogFactory- 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:AuditLogFactoryReturns audit log for the specified user- Specified by:
createForUserin interfaceAuditLogFactory- Parameters:
user- user- Returns:
- audit log for the specified user
-
createForProject
@NotNull public AuditLog createForProject(@NotNull SProject project)
Description copied from interface:AuditLogFactoryReturns audit log for the specified project- Specified by:
createForProjectin interfaceAuditLogFactory- Parameters:
project- project- Returns:
- audit log for the specified project
-
createForVcsRoot
@NotNull public AuditLog createForVcsRoot(@NotNull SVcsRoot vcsRoot)
Description copied from interface:AuditLogFactoryReturns audit log for the specified vcs root- Specified by:
createForVcsRootin interfaceAuditLogFactory- Parameters:
vcsRoot- vcs root- Returns:
- audit log for the specified vcs root
-
createForServer
@NotNull public AuditLog createForServer()
Description copied from interface:AuditLogFactoryReturns audit log for server- Specified by:
createForServerin interfaceAuditLogFactory- Returns:
- audit log for server
-
createForUserGroup
@NotNull public AuditLog createForUserGroup(@NotNull UserGroup userGroup)
Description copied from interface:AuditLogFactoryReturns audit log for user group- Specified by:
createForUserGroupin interfaceAuditLogFactory- Parameters:
userGroup- user group- Returns:
- audit log for user group
-
createForRole
@NotNull public AuditLog createForRole(@NotNull Role role)
Description copied from interface:AuditLogFactoryReturns audit log for user role- Specified by:
createForRolein interfaceAuditLogFactory- Parameters:
role- role- Returns:
- audit log for user role
-
createForTest
@NotNull public AuditLog createForTest(@NotNull STest test)
Description copied from interface:AuditLogFactoryReturns audit log for test- Specified by:
createForTestin interfaceAuditLogFactory- Parameters:
test- test- Returns:
- audit log for test
-
createForAgentPool
@NotNull public AuditLog createForAgentPool(@NotNull AgentPool agentPool)
Description copied from interface:AuditLogFactoryReturns audit log for agent pool- Specified by:
createForAgentPoolin interfaceAuditLogFactory- Parameters:
agentPool- agent pool- Returns:
- audit log for agent pool
-
createFor
@NotNull public AuditLog createFor(@NotNull ObjectType objectType, @NotNull String objectId)
Description copied from interface:AuditLogFactoryReturns audit log for the specified object- Specified by:
createForin interfaceAuditLogFactory- Parameters:
objectType- object typeobjectId- object id- Returns:
- audit log for the specified object
-
createForBuildProblem
@NotNull public AuditLog createForBuildProblem(@NotNull BuildProblemInfo buildProblem)
Description copied from interface:AuditLogFactoryReturns audit log for build problems- Specified by:
createForBuildProblemin interfaceAuditLogFactory- Parameters:
buildProblem- build problem- Returns:
- see above
-
-