Package reportinEngines
Class ReportGeneratorForFiles
- java.lang.Object
-
- reportinEngines.ReportGeneratorForFiles
-
- All Implemented Interfaces:
IReportGenerator
public class ReportGeneratorForFiles extends java.lang.Object implements IReportGenerator
ReportGeneratorForFiles
Responsible for saving the restaurant statistics in plain text format- Since:
- 2017-07-22
- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ReportGeneratorForFiles()
-
Method Summary
Modifier and Type Method Description void
reportOnDishes(java.util.ArrayList<Dish> menu)
Saves the statistics for the dishesvoid
reportOnEmps(java.util.ArrayList<Employee> personnel)
Saves the statistics for the employees
-
-
-
Method Detail
-
reportOnEmps
public void reportOnEmps(java.util.ArrayList<Employee> personnel)
Saves the statistics for the employees- Specified by:
reportOnEmps
in interfaceIReportGenerator
- Parameters:
personnel
- : list of employees
-
reportOnDishes
public void reportOnDishes(java.util.ArrayList<Dish> menu)
Saves the statistics for the dishes- Specified by:
reportOnDishes
in interfaceIReportGenerator
- Parameters:
menu
- : list of dishes
-
-