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 |
setHideExternalDirectories(boolean hideExternalDirectories) |
AuditingFilter.Builder |
toTimestamp(Long toTimestamp) |
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 setHideExternalDirectories(boolean hideExternalDirectories)
hideExternalDirectories
- if true only records related to internal directory will be returnedpublic AuditingFilter build()
Copyright © 2002-2016 Atlassian. All Rights Reserved.