Class GetAuditLog
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.GetAuditLog
-
- All Implemented Interfaces:
RestReadView<GroupResource>
,RestView<GroupResource>
public class GetAuditLog extends Object implements RestReadView<GroupResource>
-
-
Constructor Summary
Constructors Constructor Description GetAuditLog(AccountLoader.Factory accountLoaderFactory, AllUsersName allUsers, GroupCache groupCache, GroupJson groupJson, GroupBackend groupBackend, Groups groups, GitRepositoryManager repoManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends GroupAuditEventInfo>
apply(GroupResource rsrc)
Process the view operation by reading from the resource.
-
-
-
Constructor Detail
-
GetAuditLog
@Inject public GetAuditLog(AccountLoader.Factory accountLoaderFactory, AllUsersName allUsers, GroupCache groupCache, GroupJson groupJson, GroupBackend groupBackend, Groups groups, GitRepositoryManager repoManager)
-
-
Method Detail
-
apply
public List<? extends GroupAuditEventInfo> apply(GroupResource rsrc) throws AuthException, com.google.gerrit.server.restapi.group.NotInternalGroupException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<GroupResource>
- Parameters:
rsrc
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
AuthException
- the client is not permitted to access this view.com.google.gerrit.server.restapi.group.NotInternalGroupException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
-
-