Interface AuditLogFactory
-
- All Known Implementing Classes:
AuditLogFactoryImpl
public interface AuditLogFactory
Factory for audit log objects- Author:
- Maxim.Manuylov Date: 24.04.2009
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuditLog
createFor(ObjectType objectType, String objectId)
Returns audit log for the specified objectAuditLog
createForAgent(SBuildAgent agent)
Returns audit log for the specified agentAuditLog
createForAgentPool(AgentPool agentPool)
Returns audit log for agent poolAuditLog
createForAgentType(SAgentType agentType)
Returns audit log for the specified agent typeAuditLog
createForBuild(SBuild build)
Returns audit log for the specified buildAuditLog
createForBuildProblem(BuildProblemInfo buildProblem)
Returns audit log for build problemsAuditLog
createForBuildPromotion(BuildPromotion buildPromotion)
Returns audit log for the specified build promotionAuditLog
createForBuildType(BuildType buildType)
Returns audit log for the specified build typeAuditLog
createForBuildTypeTemplate(BuildTypeTemplate buildTypeTemplate)
Returns audit log for the specified build type templateAuditLog
createForBuildTypeWithId(String buildTypeId)
Returns audit log for the build type with the specified internal idAuditLog
createForProject(SProject project)
Returns audit log for the specified projectAuditLog
createForRole(Role role)
Returns audit log for user roleAuditLog
createForServer()
Returns audit log for serverAuditLog
createForTest(STest test)
Returns audit log for testAuditLog
createForUser(User user)
Returns audit log for the specified userAuditLog
createForUserGroup(UserGroup userGroup)
Returns audit log for user groupAuditLog
createForVcsRoot(SVcsRoot vcsRoot)
Returns audit log for the specified vcs root
-
-
-
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 typeobjectId
- object id- Returns:
- audit log for the specified object
-
-