public static class AuditQuery.Builder extends Object
Modifier and Type | Method and Description |
---|---|
AuditQuery.Builder |
actions(String... actions) |
AuditQuery |
build() |
AuditQuery.Builder |
categories(String... categories) |
AuditQuery.Builder |
from(Instant from) |
AuditQuery.Builder |
maxId(Long maxId) |
AuditQuery.Builder |
minId(Long minId) |
AuditQuery.Builder |
resource(String type,
String id)
Replaces the resource filter to single resource with given
type and id |
AuditQuery.Builder |
resources(List<AuditQuery.AuditResourceIdentifier> resources) |
AuditQuery.Builder |
searchText(String searchText) |
AuditQuery.Builder |
to(Instant to) |
AuditQuery.Builder |
userIds(String... userIds) |
public AuditQuery.Builder actions(String... actions)
public AuditQuery.Builder from(@Nullable Instant from)
public AuditQuery.Builder to(@Nullable Instant to)
public AuditQuery.Builder categories(String... categories)
public AuditQuery.Builder resource(@Nonnull String type, @Nonnull String id)
type
and id
public AuditQuery.Builder resources(@Nonnull List<AuditQuery.AuditResourceIdentifier> resources)
public AuditQuery.Builder userIds(String... userIds)
public AuditQuery.Builder searchText(@Nullable String searchText)
public AuditQuery.Builder minId(@Nonnull Long minId)
public AuditQuery.Builder maxId(@Nonnull Long maxId)
public AuditQuery build()
Copyright © 2020 Atlassian. All rights reserved.