public static class TaskFilterCriteria.TFCBuilder extends Object
Modifier and Type | Method and Description |
---|---|
TaskFilterCriteria |
criterias() |
TaskFilterCriteria.TFCBuilder |
finished(boolean finished)
Default value is
true (fetch all tasks) |
TaskFilterCriteria.TFCBuilder |
from(long from)
Default value is
0L (no date filtering) |
TaskFilterCriteria.TFCBuilder |
limit(int limit)
Default value is
0 (no pagination) |
static TaskFilterCriteria.TFCBuilder |
newInstance() |
TaskFilterCriteria.TFCBuilder |
offset(int offset)
Default value is
0 (no pagination) |
TaskFilterCriteria.TFCBuilder |
pending(boolean pending)
Default value is
true (fetch all tasks) |
TaskFilterCriteria.TFCBuilder |
running(boolean running)
Default value is
true (fetch all tasks) |
TaskFilterCriteria.TFCBuilder |
sortParameters(List<SortSpecifierContainer> sortParameters)
Default value is
null (no sort parameters) |
TaskFilterCriteria.TFCBuilder |
tag(String tag)
Default value is
null (no task tag filtering) |
TaskFilterCriteria.TFCBuilder |
tenant(String tenant)
Default value is
null (no user specific filtering) |
TaskFilterCriteria.TFCBuilder |
to(long to)
Default value is
0L (no date filtering) |
TaskFilterCriteria.TFCBuilder |
user(String user)
Default value is
null (no user specific filtering) |
public static TaskFilterCriteria.TFCBuilder newInstance()
public TaskFilterCriteria.TFCBuilder tag(String tag)
null
(no task tag filtering)public TaskFilterCriteria.TFCBuilder from(long from)
0L
(no date filtering)public TaskFilterCriteria.TFCBuilder to(long to)
0L
(no date filtering)public TaskFilterCriteria.TFCBuilder offset(int offset)
0
(no pagination)public TaskFilterCriteria.TFCBuilder limit(int limit)
0
(no pagination)public TaskFilterCriteria.TFCBuilder running(boolean running)
true
(fetch all tasks)public TaskFilterCriteria.TFCBuilder pending(boolean pending)
true
(fetch all tasks)public TaskFilterCriteria.TFCBuilder finished(boolean finished)
true
(fetch all tasks)public TaskFilterCriteria.TFCBuilder user(String user)
null
(no user specific filtering)public TaskFilterCriteria.TFCBuilder tenant(String tenant)
null
(no user specific filtering)public TaskFilterCriteria.TFCBuilder sortParameters(List<SortSpecifierContainer> sortParameters)
null
(no sort parameters)public TaskFilterCriteria criterias()