Package entity
Class Config
java.lang.Object
entity.Config
- All Implemented Interfaces:
Serializable
This class is used to store the configuration of the application.
- See Also:
-
Field Details
-
checkBoxes
-
labels
-
sampleFreq
-
pythonInterpreter
-
dataOutputPath
-
eyeTrackerDevice
-
-
Constructor Details
-
Config
public Config(List<Boolean> checkBoxes, List<String> labels, Double sampleFreq, String pythonInterpreter, String dataOutputPath, Integer eyeTrackerDevice) The constructor of the Config class.- Parameters:
checkBoxes
- The list of the checkboxes.labels
- The list of the labels.sampleFreq
- The sample frequency.pythonInterpreter
- The path of the python interpreter.dataOutputPath
- The path of the data output folder.eyeTrackerDevice
- The index of the eye tracker device.
-
Config
public Config()The constructor of the Config class.
-
-
Method Details
-
configExists
public boolean configExists() -
saveAsJson
public void saveAsJson()Save the configuration as a JSON file. -
loadFromJson
public void loadFromJson()Load the configuration from the JSON file. -
getPythonInterpreter
-
getSampleFreq
-
getCheckBoxes
-
getLabels
-
getDataOutputPath
-
getEyeTrackerDevice
-
toString
-