Uses of Class
page.codeberg.friedolyn.configuration.Configuration
Packages that use Configuration
Package
Description
-
Uses of Configuration in page.codeberg.friedolyn
Fields in page.codeberg.friedolyn declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull ConfigurationFriedolyn.configurationVarious options that modify Friedolyn's behaviour.private static ConfigurationMain.configurationThe user's preferences for the behaviour of the application.Methods in page.codeberg.friedolyn that return ConfigurationModifier and TypeMethodDescription@NonNull ConfigurationFriedolyn.getConfiguration()private static @NonNull ConfigurationMain.getConfigurationFromCommandLine(@NonNull String[] arguments) Parses the command-line arguments and creates aConfigurationobject from them.private static @NonNull ConfigurationMain.getConfigurationFromDirectory(@NonNull File folder) Tries to read a configuration file from the given directory.@NonNull ConfigurationFriedolyn.getReferenceToConfiguration()Methods in page.codeberg.friedolyn that return types with arguments of type ConfigurationModifier and TypeMethodDescriptionstatic @NonNull Optional<Configuration> Tries to read the configuration file saved in thefilePreferenceof theFriedolynclass or, if that fails, from thedirectoryPreference or, if that fails, from the default directory, which is~/.friedolyn.Methods in page.codeberg.friedolyn with parameters of type ConfigurationModifier and TypeMethodDescriptionvoidFriedolyn.setConfiguration(@NonNull Configuration configuration) Updates the currentFriedolyn.configurationwith the deep copy of a new one (not the actual reference of it, for security reasons).Constructors in page.codeberg.friedolyn with parameters of type ConfigurationModifierConstructorDescriptionFriedolyn(@NonNull Configuration configuration) Creates a new Friedolyn object with a deep copy of the given configuration. -
Uses of Configuration in page.codeberg.friedolyn.client
Fields in page.codeberg.friedolyn.client declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull ConfigurationClient.configurationVarious options that modify Friedolyn's behaviour.private @NonNull ConfigurationHeadlessBrowser.configurationThe configuration with all parameters required to log in at the University of Jena's Friedolin system.Methods in page.codeberg.friedolyn.client that return ConfigurationModifier and TypeMethodDescription@NonNull ConfigurationClient.getConfiguration()abstract @NonNull ConfigurationFriedolinClient.getConfiguration()Methods in page.codeberg.friedolyn.client with parameters of type ConfigurationModifier and TypeMethodDescriptionvoidClient.setConfiguration(@NonNull Configuration configuration) Updates the currentClient.configurationwith a deep copy of the given one (not the actual reference of it, for security reasons).abstract voidFriedolinClient.setConfiguration(@NonNull Configuration configuration) Updates the preferences that determine the behaviour of this client with a deep copy of the given configuration (not the actual reference, for security reasons).voidHeadlessBrowser.setConfiguration(@NonNull Configuration configuration) Updates the preferences that determine the behaviour of this client with a deep copy of the given configuration (not the actual reference, for security reasons).voidClient.setConfigurationReference(@NonNull Configuration configuration) Updates the preferences that determine the behaviour of this client with the exact reference of the givenConfiguration(instead of just a deep copy).abstract voidFriedolinClient.setConfigurationReference(@NonNull Configuration configuration) Updates the preferences that determine the behaviour of this client with the exact reference of the givenConfiguration(instead of just a deep copy).voidHeadlessBrowser.setConfigurationReference(@NonNull Configuration configuration) Updates the preferences that determine the behaviour of this client with the exact reference of the givenConfiguration(instead of just a deep copy).Constructors in page.codeberg.friedolyn.client with parameters of type ConfigurationModifierConstructorDescriptionClient(@NonNull Configuration configuration) Creates a new client that can be used immediately without further configuration or initialisation.HeadlessBrowser(@NonNull Configuration configuration) Creates a new headless browser instance with the provided configuration. -
Uses of Configuration in page.codeberg.friedolyn.configuration
Methods in page.codeberg.friedolyn.configuration that return ConfigurationModifier and TypeMethodDescription@NonNull ConfigurationConfiguration.copy()static @NonNull ConfigurationCreates a newConfigurationfrom a given JSON file.static @NonNull ConfigurationCreates a newConfigurationfrom a given JSON. -
Uses of Configuration in page.codeberg.friedolyn.configuration.client
Fields in page.codeberg.friedolyn.configuration.client declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull ConfigurationUserAgentManager.configurationWe need this in order to know where to store theuser-agentsfile.Constructors in page.codeberg.friedolyn.configuration.client with parameters of type ConfigurationModifierConstructorDescriptionUserAgentManager(@NonNull Configuration configuration) Creates a new user-agent manager andtries to importtheuser-agents.jsonfile from thespecified in the given configuration.invalid reference
Friedolyn directory -
Uses of Configuration in page.codeberg.friedolyn.gui
Methods in page.codeberg.friedolyn.gui with parameters of type ConfigurationModifier and TypeMethodDescriptionstatic @NonNull GUI.DialogResult<@NonNull ContactController.ContactResult> GUI.openContactDialog(@NonNull Configuration configuration) Opens theGUI.Window.CONTACTwindow to let the user send a message to the developers of the application.static @NonNull GUI.DialogResult<@NonNull ContactController.ContactResult> GUI.openContactDialog(@NonNull Configuration configuration, Friedolyn.ContactRequest contactRequest) Opens theGUI.Window.CONTACTwindow to let the user send a message to the developers of the application.static @NonNull GUI.DialogResult<@NonNull ContactMethods> GUI.openContactReplyDialogWindow(@NonNull Configuration configuration) Opens theGUI.Window.CONTACT_REPLY_METHOD_DIALOGwindow to let the user choose how the developers should reply to their contact request.static voidGUI.openContactWindow(@NonNull Configuration configuration, boolean wait) Opens theGUI.Window.CONTACTwindow to let the user contact the developers of the application.static @NonNull GUI.DialogResult<@NonNull EMailNotifier> GUI.openSetupEmailDialogWindow(@NonNull Configuration configuration) static @NonNull GUI.DialogResult<@NonNull NtfyNotifier> GUI.openSetupNtfyDialogWindow(@NonNull Configuration configuration) Opens a dialog window that asks the user to configure aNtfyNotifierfor push notifications.static voidGUI.openSetupNtfyDialogWindow(@NonNull Configuration configuration, boolean wait) Opens theGUI.Window.SETUP_NTFY_DIALOGwindow to let the user configure aNtfyNotifierfor push notifications.static @NonNull GUI.DialogResult<@NonNull UnifiedPushNotifier> GUI.openSetupUnifiedPushDialogWindow(@NonNull Configuration configuration) Opens a dialog window that asks the user to configure aUnifiedPushNotifierfor push notifications.static voidGUI.openSetupUnifiedPushDialogWindow(@NonNull Configuration configuration, boolean wait) Opens theGUI.Window.SETUP_UNIFIED_PUSH_DIALOGwindow to let the user configure aUnifiedPushNotifierfor push notifications. -
Uses of Configuration in page.codeberg.friedolyn.gui.controllers
Fields in page.codeberg.friedolyn.gui.controllers declared as ConfigurationModifier and TypeFieldDescriptionprivate ConfigurationContactController.configurationThe configuration with the user's login credentials and contact information.private final ConfigurationContactController.InitialisationParameters.configurationThe field for theconfigurationrecord component.private ConfigurationFirstLaunchController.configurationprivate ConfigurationSetupUnifiedPushDialogController.configurationWill be set asthe notifier's configuration.Methods in page.codeberg.friedolyn.gui.controllers that return ConfigurationModifier and TypeMethodDescriptionContactController.InitialisationParameters.configuration()Returns the value of theconfigurationrecord component.Methods in page.codeberg.friedolyn.gui.controllers with parameters of type ConfigurationModifier and TypeMethodDescriptionvoidContactReplyMethodDialogController.prepare(@NonNull Configuration configuration) Prepares the contact reply dialog for operation by creating a newContactMethodsobject with the user name from the givenconfiguration.voidSetupEmailDialogController.prepare(@NonNull Configuration configuration) Uses the givenConfigurationto insert the user's current e-mail setup into the dialog.voidSetupNtfyDialogController.prepare(@NonNull Configuration configuration) Uses the givenConfigurationto insert the user's current Ntfy setup into the dialog.voidSetupUnifiedPushDialogController.prepare(@NonNull Configuration configuration) Uses the givenConfigurationto insert the user's current UnifiedPush setup into the dialog.Constructors in page.codeberg.friedolyn.gui.controllers with parameters of type ConfigurationModifierConstructorDescriptionInitialisationParameters(Configuration configuration, Friedolyn.ContactRequest contactRequestType) Creates an instance of aInitialisationParametersrecord class. -
Uses of Configuration in page.codeberg.friedolyn.meta
Fields in page.codeberg.friedolyn.meta declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull ConfigurationPolledMetadata.configurationSpecifies theConfigurationobject that contains the directory where the metadata file is stored.Methods in page.codeberg.friedolyn.meta with parameters of type ConfigurationModifier and TypeMethodDescriptionBannedUser.decryptMessage(@NonNull Configuration configuration) Decryptsthe developers'BannedUser.messageto the user, trying theuser name, thee-mail address, and theclear nameas the password.BannedUser.matches(@NonNull Configuration configuration) Checks if the user corresponding to the givenConfigurationmatches this banned user.private booleanBannedUser.matchesClearName(@NonNull Configuration configuration) private booleanBannedUser.matchesEmail(@NonNull Configuration configuration) private booleanBannedUser.matchesUser(@NonNull Configuration configuration) Constructors in page.codeberg.friedolyn.meta with parameters of type ConfigurationModifierConstructorDescriptionPolledMetadata(@NonNull Configuration configuration) Creates a newPolledMetadataobject andtriesto import themetadata.jsonfile from thespecified in the giveninvalid reference
directoryConfiguration.PolledMetadata(@NonNull Configuration configuration, boolean decryptPollURL) Creates a newPolledMetadataobject andtriesto import themetadata.jsonfile from thespecified in the giveninvalid reference
directoryConfiguration. -
Uses of Configuration in page.codeberg.friedolyn.notifications
Fields in page.codeberg.friedolyn.notifications declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull ConfigurationEMailNotifier.configurationThe student's settings, including the e-mail address and password (both must be set) that will be used to authenticate with the university's SMTP server.private ConfigurationUnifiedPushNotifier.configurationProvides theclient configurationcontaining theandinvalid reference
user agent/invalid reference
DNTsettings that will be used when sending the notification.invalid reference
GPCMethods in page.codeberg.friedolyn.notifications that return ConfigurationModifier and TypeMethodDescription@NonNull ConfigurationEMailNotifier.getConfiguration()@NonNull ConfigurationEMailNotifier.getReferenceToConfiguration()Methods in page.codeberg.friedolyn.notifications with parameters of type ConfigurationModifier and TypeMethodDescriptionvoidUnifiedPushNotifier.setConfiguration(@NonNull Configuration configuration) Updates theUnifiedPushNotifier.configurationwith the newConfigurationobject reference.Constructors in page.codeberg.friedolyn.notifications with parameters of type ConfigurationModifierConstructorDescriptionEMailNotifier(@NonNull Configuration configuration) EMailNotifier(@NonNull Configuration configuration, boolean enablePgpEncryption) UnifiedPushNotifier(@NonNull URL url, @NonNull Configuration configuration) Creates a newUnifiedPushNotifierwith the givenURLused to send notifications and theclient configuration.