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 Configuration
Friedolyn.configuration
Various options that modify Friedolyn's behaviour.private static Configuration
Main.configuration
The user's preferences for the behaviour of the application.Methods in page.codeberg.friedolyn that return ConfigurationModifier and TypeMethodDescription@NonNull Configuration
Friedolyn.getConfiguration()
private static @NonNull Configuration
Main.getConfigurationFromCommandLine
(@NonNull String[] arguments) Parses the command-line arguments and creates aConfiguration
object from them.private static @NonNull Configuration
Main.getConfigurationFromDirectory
(@NonNull File folder) Tries to read a configuration file from the given directory.@NonNull Configuration
Friedolyn.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 thefile
Preference
of theFriedolyn
class or, if that fails, from thedirectory
Preference or, if that fails, from the default directory, which is~/.friedolyn
.Methods in page.codeberg.friedolyn with parameters of type ConfigurationModifier and TypeMethodDescriptionvoid
Friedolyn.setConfiguration
(@NonNull Configuration configuration) Updates the currentFriedolyn.configuration
with 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 Configuration
Client.configuration
Various options that modify Friedolyn's behaviour.private @NonNull Configuration
HeadlessBrowser.configuration
The 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 Configuration
Client.getConfiguration()
abstract @NonNull Configuration
FriedolinClient.getConfiguration()
Methods in page.codeberg.friedolyn.client with parameters of type ConfigurationModifier and TypeMethodDescriptionvoid
Client.setConfiguration
(@NonNull Configuration configuration) Updates the currentClient.configuration
with a deep copy of the given one (not the actual reference of it, for security reasons).abstract void
FriedolinClient.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).void
HeadlessBrowser.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).void
Client.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 void
FriedolinClient.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).void
HeadlessBrowser.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 Configuration
Configuration.copy()
static @NonNull Configuration
Creates a newConfiguration
from a given JSON file.static @NonNull Configuration
Creates a newConfiguration
from 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 Configuration
UserAgentManager.configuration
We need this in order to know where to store theuser-agents
file
.Constructors in page.codeberg.friedolyn.configuration.client with parameters of type ConfigurationModifierConstructorDescriptionUserAgentManager
(@NonNull Configuration configuration) Creates a new user-agent manager andtries to import
theuser-agents.json
file from theinvalid 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.CONTACT
window 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.CONTACT
window 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_DIALOG
window to let the user choose how the developers should reply to their contact request.static void
GUI.openContactWindow
(@NonNull Configuration configuration, boolean wait) Opens theGUI.Window.CONTACT
window 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 aNtfyNotifier
for push notifications.static void
GUI.openSetupNtfyDialogWindow
(@NonNull Configuration configuration, boolean wait) Opens theGUI.Window.SETUP_NTFY_DIALOG
window to let the user configure aNtfyNotifier
for push notifications.static @NonNull GUI.DialogResult
<@NonNull UnifiedPushNotifier> GUI.openSetupUnifiedPushDialogWindow
(@NonNull Configuration configuration) Opens a dialog window that asks the user to configure aUnifiedPushNotifier
for push notifications.static void
GUI.openSetupUnifiedPushDialogWindow
(@NonNull Configuration configuration, boolean wait) Opens theGUI.Window.SETUP_UNIFIED_PUSH_DIALOG
window to let the user configure aUnifiedPushNotifier
for push notifications. -
Uses of Configuration in page.codeberg.friedolyn.gui.controllers
Fields in page.codeberg.friedolyn.gui.controllers declared as ConfigurationModifier and TypeFieldDescriptionprivate Configuration
ContactController.configuration
The configuration with the user's login credentials and contact information.private final Configuration
ContactController.InitialisationParameters.configuration
The field for theconfiguration
record component.private Configuration
FirstLaunchController.configuration
private Configuration
SetupUnifiedPushDialogController.configuration
Will be set asthe notifier's configuration
.Methods in page.codeberg.friedolyn.gui.controllers that return ConfigurationModifier and TypeMethodDescriptionContactController.InitialisationParameters.configuration()
Returns the value of theconfiguration
record component.Methods in page.codeberg.friedolyn.gui.controllers with parameters of type ConfigurationModifier and TypeMethodDescriptionvoid
ContactReplyMethodDialogController.prepare
(@NonNull Configuration configuration) Prepares the contact reply dialog for operation by creating a newContactMethods
object with the user name from the givenconfiguration
.void
SetupEmailDialogController.prepare
(@NonNull Configuration configuration) Uses the givenConfiguration
to insert the user's current e-mail setup into the dialog.void
SetupNtfyDialogController.prepare
(@NonNull Configuration configuration) Uses the givenConfiguration
to insert the user's current Ntfy setup into the dialog.void
SetupUnifiedPushDialogController.prepare
(@NonNull Configuration configuration) Uses the givenConfiguration
to 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 aInitialisationParameters
record class. -
Uses of Configuration in page.codeberg.friedolyn.meta
Fields in page.codeberg.friedolyn.meta declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull Configuration
PolledMetadata.configuration
Specifies theConfiguration
object 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) Decrypts
the developers'BannedUser.message
to the user, trying theuser name
, thee-mail address
, and theclear name
as the password.BannedUser.matches
(@NonNull Configuration configuration) Checks if the user corresponding to the givenConfiguration
matches this banned user.private boolean
BannedUser.matchesClearName
(@NonNull Configuration configuration) private boolean
BannedUser.matchesEmail
(@NonNull Configuration configuration) private boolean
BannedUser.matchesUser
(@NonNull Configuration configuration) Constructors in page.codeberg.friedolyn.meta with parameters of type ConfigurationModifierConstructorDescriptionPolledMetadata
(@NonNull Configuration configuration) Creates a newPolledMetadata
object andtries
to import themetadata.json
file from theinvalid reference
directory
Configuration
.PolledMetadata
(@NonNull Configuration configuration, boolean decryptPollURL) Creates a newPolledMetadata
object andtries
to import themetadata.json
file from theinvalid reference
directory
Configuration
. -
Uses of Configuration in page.codeberg.friedolyn.notifications
Fields in page.codeberg.friedolyn.notifications declared as ConfigurationModifier and TypeFieldDescriptionprivate @NonNull Configuration
EMailNotifier.configuration
The 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 Configuration
UnifiedPushNotifier.configuration
Provides theclient configuration
containing theinvalid reference
user agent
invalid reference
DNT
invalid reference
GPC
Methods in page.codeberg.friedolyn.notifications that return ConfigurationModifier and TypeMethodDescription@NonNull Configuration
EMailNotifier.getConfiguration()
@NonNull Configuration
EMailNotifier.getReferenceToConfiguration()
Methods in page.codeberg.friedolyn.notifications with parameters of type ConfigurationModifier and TypeMethodDescriptionvoid
UnifiedPushNotifier.setConfiguration
(@NonNull Configuration configuration) Updates theUnifiedPushNotifier.configuration
with the newConfiguration
object 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 newUnifiedPushNotifier
with the givenURL
used to send notifications and theclient configuration
.