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 forTaskStatusReport.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskStatusReportbuildReport()TaskStatusReport.BuilderdomainIn(List<String> domains)Adds a list of domains to the builder.TaskStatusReport.BuilderpriorityMinimum(Integer priority)Adds a priority Integer to the builder.TaskStatusReport.BuilderstateIn(List<TaskState> states)Adds a list of states to the builder.TaskStatusReport.BuilderworkbasketIdsIn(List<String> workbasketIds)Adds a list of workbasketIds to the builder.
-
-
-
Method Detail
-
buildReport
TaskStatusReport buildReport() throws NotAuthorizedException
- Specified by:
buildReportin interfaceReport.Builder<TaskQueryItem,TaskStatusColumnHeader>- Throws:
NotAuthorizedException
-
stateIn
TaskStatusReport.Builder stateIn(List<TaskState> states)
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
TaskStatusReport.Builder priorityMinimum(Integer priority)
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
TaskStatusReport.Builder domainIn(List<String> domains)
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
TaskStatusReport.Builder workbasketIdsIn(List<String> workbasketIds)
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
-
-