public class MainEngine extends java.lang.Object implements IMainEngine
Constructor and Description |
---|
MainEngine() |
Modifier and Type | Method and Description |
---|---|
void |
computeAllStats()
Computes the weekly statistics and the statistics
for each employee and prints the results
|
void |
createReports(java.lang.String mode)
Creates the different types of reports
|
void |
getDishes(javafx.collections.ObservableList<Dish> data) |
void |
getEmployees(javafx.collections.ObservableList<Employee> data) |
int |
loadAllData()
Loads the data from the input files
|
public int loadAllData()
loadAllData
in interface IMainEngine
public void computeAllStats()
computeAllStats
in interface IMainEngine
public void createReports(java.lang.String mode)
createReports
in interface IMainEngine
public void getEmployees(javafx.collections.ObservableList<Employee> data)
getEmployees
in interface IMainEngine
public void getDishes(javafx.collections.ObservableList<Dish> data)
getDishes
in interface IMainEngine