Package cz.cvut.fel.omo.SmartHome.report
Class ActivityAndUsageReport
- java.lang.Object
-
- cz.cvut.fel.omo.SmartHome.report.AbstractReport
-
- cz.cvut.fel.omo.SmartHome.report.ActivityAndUsageReport
-
public class ActivityAndUsageReport extends AbstractReport
Class for Activity and usage report
-
-
Constructor Summary
Constructors Constructor Description ActivityAndUsageReport()
-
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 configurationvoid
setEvents(java.util.List<Event> events)
-
-
-
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)
-
accept
public void accept(ReportGenerator generator)
- Specified by:
accept
in classAbstractReport
-
-