package application.enums; /** * This enum is used to differentiate the different states the navigation (and * the tool) can be in. * * @author Bianca * */ public enum NavState { /** Start of the application **/ INIT, /** * In the start view the data import was given and the privacy policy was * checked **/ IMPORT_GIVEN, /** * The start state of the view where the user can select which data he/she * wishes to contribute **/ SELECT_DATA, /** * In the select view, at least one data object was selected to contribute and * the savep ath was set **/ DATA_AND_PATH_SELECTED, /** * Return to the first view where a data import can be done, but the path to the * previously given file is still set and the privacy policy checked **/ START_AGAIN, /** * The view which shows all created files and allows the user to open these for * inspection **/ INSPECT, /** * The view where the user should be able to inspect the created files. But as * there was an error in writing / creating these files, there will only be an * error message shown for him / her **/ INSPECT_WITH_ERROR, /** * Last view of the tool. Gives an overview over all included data and helps the * user to upload these to nextcloud **/ RESULT, /** This view contains the privacy policy and can be accessed from all other views.**/ PRIVACY_STATEMENT; }