GlobalSettings
Attributes
- Graph
-
- Supertypes
- Self type
-
GlobalSettings.type
Members list
Value members
Inherited methods
Returns a single-valued setting, wrapped in an Option. Returns None if the key is not found, or an error occured.
Returns a single-valued setting, wrapped in an Option. Returns None if the key is not found, or an error occured.
If multiple values with this key are present, the first is returned.
Type parameters
- A
-
type of the setting's value.
Value parameters
- key
-
settings key
Attributes
- Returns
-
the first value with the appropriate key, or None on error/not found.
- Inherited from:
- PersistentSettings
Returns a multi-valued setting, wrapped in an Option.
Returns a multi-valued setting, wrapped in an Option.
Returns an empty list if the key is not found, None if an error occurred.
Type parameters
- A
-
type of the setting's value
Value parameters
- key
-
settings key
Attributes
- Returns
-
all values for the key, or None on error.
- Inherited from:
- PersistentSettings
Sets a single-valued setting.
Sets a single-valued setting.
All previous settings for the respective key are discarded and replaced by the new value.
Type parameters
- A
-
type of the setting's value.
Value parameters
- key
-
settings key
- value
-
settings value
Attributes
- Returns
-
Failure on error, Success otherwise
- Inherited from:
- PersistentSettings
Sets a multi-valued setting.
Sets a multi-valued setting.
All previous settings for the respective key are discarded and replaced by the new values.
Type parameters
- A
-
type of the setting's values.
Value parameters
- key
-
settings key
- values
-
settings values
Attributes
- Returns
-
Failure on error, Success otherwise
- Inherited from:
- PersistentSettings
Inherited fields
Attributes
- Inherited from:
- PersistentSettings