toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
net.gekkit.smartconfig
/
IConfigurationProvider
IConfiguration
Provider
public
interface
IConfigurationProvider
Members
Functions
get
Link copied to clipboard
@
Contract
(
pure
=
true
)
@
Nonnull
(
)
public
abstract
T
get
<
T
>
(
@
Nonnull
(
)
IKeyWithDefault
<
T
>
key
)
Use this function to retrieve a value from the config.
get
Children
Link copied to clipboard
@
Nonnull
(
)
public
abstract
Set
<
QualifiedKey
>
getChildren
(
@
Nonnull
(
)
QualifiedKey
key
)
Safe to use from within
IKeyDeserializer
so you can deserialize objects or lists List elements will never be null, but the returned list may be
emptyList
unsafe
Get
Link copied to clipboard
@
Contract
(
pure
=
true
)
@
Nullable
(
)
public
abstract
String
unsafeGet
(
@
Nonnull
(
)
QualifiedKey
key
)
This function is designed to be used by an
IKeyDeserializer
and is not safe as it may return null, and always returns getClassById string