public static class AuditingFilter.Builder extends Object
Modifier and Type | Method and Description |
---|---|
AuditingFilter |
build() |
AuditingFilter.Builder |
filter(String filter) |
AuditingFilter.Builder |
fromTimestamp(Long fromTimestamp) |
AuditingFilter.Builder |
projectIds(List<Long> projectIds) |
AuditingFilter.Builder |
setHideExternalDirectories(boolean hideExternalDirectories) |
AuditingFilter.Builder |
toTimestamp(Long toTimestamp) |
AuditingFilter.Builder |
userIds(List<String> userIds) |
public AuditingFilter.Builder filter(@Nullable String filter)
filter
- text filter query; each record in result set will need to contain this textpublic AuditingFilter.Builder fromTimestamp(@Nullable Long fromTimestamp)
fromTimestamp
- timestamp in past to narrow the results set; fromTimestamp must be less or equal
toTimestamp, otherwise the result set will be empty only records that where created in the same moment or after
the fromTimestamp will be provided in results setpublic AuditingFilter.Builder toTimestamp(@Nullable Long toTimestamp)
toTimestamp
- timestamp in past to narrow the results set; fromTimestamp must be less or equal
toTimestamp, otherwise the result set will be empty only records that where created in the same moment or earlier
than the toTimestamp will be provided in results setpublic AuditingFilter.Builder projectIds(@Nullable List<Long> projectIds)
projectIds
- The id of the project for which to return audit records.public AuditingFilter.Builder userIds(@Nullable List<String> userIds)
userIds
- The id of the users for which to return audit records.public AuditingFilter.Builder setHideExternalDirectories(boolean hideExternalDirectories)
hideExternalDirectories
- if true only records related to internal directory will be returnedpublic AuditingFilter build()
Copyright © 2002-2022 Atlassian. All Rights Reserved.