Package pro.taskana.monitor.api.reports
Class Report<I extends QueryItem,H extends ColumnHeader<? super I>>
java.lang.Object
pro.taskana.monitor.api.reports.Report<I,H>
- Type Parameters:
I- QueryItem whose value is relevant for this report.H- ColumnHeader which can determine if an <Item> belongs into that column or not.
- Direct Known Subclasses:
ClassificationCategoryReport,ClassificationReport,ClassificationReport.DetailedClassificationReport,TaskCustomFieldValueReport,TaskStatusReport,TimestampReport,WorkbasketPriorityReport,WorkbasketReport
A Report represents an abstract table that consists of Rows and a list of
<ColumnHeader>s. Since a report does not specify <Item> and <ColumnHeader> it
does not contain functional logic. Due to readability implicit definition of functional logic is
prevented and thus prevent initialization of an abstract Report. In order to create a specific
Report a subclass has to be created.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceReport.Builder<I extends QueryItem,H extends ColumnHeader<? super I>> Builder for Report. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidaddItem(I item, QueryItemPreprocessor<I> preprocessor) final voidaddItems(List<? extends I> items, QueryItemPreprocessor<I> preprocessor) final voidfinal voidaugmentDisplayNames(Map<String, String> displayMap) final String[]getRows()final introwSize()toString()