pylon-core
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
pylon-core
pylon-core
/
io.github.pylonmc.pylon.core.config.adapter
/
EnumConfigAdapter
Enum
Config
Adapter
class
EnumConfigAdapter
<
E
:
Enum
<
E
>
>
(
enumClass
:
Class
<
E
>
)
:
ConfigAdapter
<
E
>
(
source
)
Members
Constructors
Enum
Config
Adapter
Link copied to clipboard
constructor
(
enumClass
:
Class
<
E
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
type
Link copied to clipboard
open
override
val
type
:
Class
<
E
>
Functions
convert
Link copied to clipboard
open
override
fun
convert
(
value
:
Any
)
:
E
Converts the given value obtained from config to the target type T.