Package pro.taskana.monitor.api.reports
Interface TaskStatusReport.Builder
- All Superinterfaces:
Report.Builder<TaskQueryItem,TaskStatusColumnHeader>
- All Known Implementing Classes:
TaskStatusReportBuilderImpl
- Enclosing class:
- TaskStatusReport
public static interface TaskStatusReport.Builder
extends Report.Builder<TaskQueryItem,TaskStatusColumnHeader>
Builder for TaskStatusReport.
-
Method Summary
Modifier and TypeMethodDescriptionAdds a list of domains to the builder.priorityMinimum(Integer priority) Adds a priority Integer to the builder.Adds a list of states to the builder.workbasketIdsIn(List<String> workbasketIds) Adds a list of workbasketIds to the builder.
-
Method Details
-
buildReport
- Specified by:
buildReportin interfaceReport.Builder<TaskQueryItem,TaskStatusColumnHeader> - Throws:
NotAuthorizedException
-
stateIn
Adds a list of states to the builder. The created report contains only tasks with a state in this list.- Parameters:
states- a list of states- Returns:
- the Builder
-
priorityMinimum
Adds a priority Integer to the builder. The created report contains only Tasks with a priority greater or equal than this provided Integer.- Parameters:
priority- an Integer for the minimum priority- Returns:
- the Builder
-
domainIn
Adds a list of domains to the builder. The created report contains only tasks with a domain in this list.- Parameters:
domains- a list of domains- Returns:
- the Builder
-
workbasketIdsIn
Adds a list of workbasketIds to the builder. The created report contains only tasks from a workbakset in this list- Parameters:
workbasketIds- a list of workbasketIds- Returns:
- the Builder
-