toggle menu
A+ Courses
4.0.0-beta1
JVM
switch theme
search in API
A+ Courses
/
fi.aalto.cs.apluscourses.services
/
PluginSettings
/
PropertiesManager
Properties
Manager
interface
PropertiesManager
Members
Functions
get
Boolean
Link copied to clipboard
open
fun
getBoolean
(
key
:
String
)
:
Boolean
open
fun
getBoolean
(
key
:
String
,
defaultValue
:
Boolean
)
:
Boolean
get
Value
Link copied to clipboard
abstract
fun
getValue
(
key
:
String
)
:
String
?
is
Value
Set
Link copied to clipboard
abstract
fun
isValueSet
(
key
:
String
)
:
Boolean
set
Value
Link copied to clipboard
abstract
fun
setValue
(
key
:
String
,
value
:
String
?
)
open
fun
<
T
>
setValue
(
key
:
String
,
value
:
T
?
,
defaultValue
:
T
?
)
Sets property to the given value, or unsets it if the value equals default value.
unset
Value
Link copied to clipboard
abstract
fun
unsetValue
(
key
:
String
)