@Value.Immutable public abstract class BatchFilter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BatchFilter.Builder
A builder of batch filters.
|
Constructor and Description |
---|
BatchFilter() |
Modifier and Type | Method and Description |
---|---|
static BatchFilter.Builder |
builder()
Creates a builder of
BatchFilter instances. |
protected void |
check()
Verifies that the object is in a reasonable state.
|
abstract LocalDate |
endDate()
Limits results to batches send before this date.
|
int |
pageSize()
The requested number of entries per page.
|
abstract Set<String> |
senders()
Limits results to batches sent from the given addresses.
|
abstract LocalDate |
startDate()
Limits results to batches sent at or after this date.
|
abstract Set<String> |
tags()
Limits results to batches having any the given tags.
|
@Nonnull public static final BatchFilter.Builder builder()
BatchFilter
instances.@Value.Default public int pageSize()
@Nullable public abstract LocalDate startDate()
@Nullable public abstract LocalDate endDate()
public abstract Set<String> senders()
public abstract Set<String> tags()
@Value.Check protected void check()
Copyright © 2016–2019 CLX Communications. All rights reserved.