Class Report

    • Constructor Detail

      • Report

        public Report()
      • Report

        public Report​(String name)
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getSubReports

        public List<Report> getSubReports()
      • setSubReports

        public void setSubReports​(List<Report> subReports)
      • setDisplayType

        public void setDisplayType​(DisplayType displayType)
      • getItems

        public List<Item> getItems()
      • setItems

        public void setItems​(List<Item> items)
      • add

        public void add​(Report report)
      • getInfoMessages

        public List<String> getInfoMessages()
      • getErrorMessages

        public List<String> getErrorMessages()
      • hasColors

        public boolean hasColors()
      • hasItems

        public boolean hasItems()
      • aggregate

        public LinkedHashMap<String,​Integer> aggregate​(List<Item> items)
        Aggregates the results of all items. The values are added together, grouped by key.
        Parameters:
        items - the items to aggregate the childs for.
        Returns:
        the aggregated result.
      • logInfo

        @FormatMethod
        public void logInfo​(String format,
                            Object... args)
      • logError

        @FormatMethod
        public void logError​(String format,
                             Object... args)
      • logException

        @FormatMethod
        public void logException​(Exception exception,
                                 String format,
                                 Object... args)