Class ActivityAndUsageReport


  • public class ActivityAndUsageReport
    extends AbstractReport
    Class for Activity and usage report
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<Event> events  
      private House house  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(ReportGenerator generator)  
      java.lang.String report()
      Generates a string that contains information about house configuration
      void setEvents​(java.util.List<Event> events)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • house

        private final House house
      • events

        private java.util.List<Event> events
    • Constructor Detail

      • ActivityAndUsageReport

        public ActivityAndUsageReport()
    • Method Detail

      • report

        public java.lang.String report()
        Generates a string that contains information about house configuration
        Returns:
        string with report
      • setEvents

        public void setEvents​(java.util.List<Event> events)