public interface

AuditService

com.atlassian.bitbucket.audit.AuditService

Class Overview

Describes a service for interacting with audit events.

Summary

Public Methods
@Nonnull Page<MinimalAuditEntry> findByProject(Project project, PageRequest pageRequest)
Retrieves a page of audit events recorded for the specified project.
@Nonnull Page<MinimalAuditEntry> findByRepository(Repository repository, PageRequest pageRequest)
Retrieves a page of audit events recorded for the specified repository.

Public Methods

@Nonnull public Page<MinimalAuditEntry> findByProject (Project project, PageRequest pageRequest)

Retrieves a page of audit events recorded for the specified project.

Parameters
project the project to retrieve events for
pageRequest describes the page of events to retrieve
Returns
  • a page of events which may be empty but never null

@Nonnull public Page<MinimalAuditEntry> findByRepository (Repository repository, PageRequest pageRequest)

Retrieves a page of audit events recorded for the specified repository.

Parameters
repository the repository to retrieve events for
pageRequest describes the page of events to retrieve
Returns
  • a page of events which may be empty but never null