Package de.eldoria.jacksonbukkit.builder
Class ModuleBuilder<T,V extends JacksonBukkitModule>
java.lang.Object
de.eldoria.jacksonbukkit.builder.ModuleBuilder<T,V>
- Type Parameters:
T
- type of builderV
- type of created module
- Direct Known Subclasses:
JacksonBukkitBuilder
,JacksonPaperBuilder
Base class for module builder.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Whether hex colors should be serialized as hex or not. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract V
build()
Build the moduleSerializeColor
as hex string.colorAsHex
(boolean hexColors) SerializeColor
as hex string.
-
Field Details
-
hexColors
protected boolean hexColorsWhether hex colors should be serialized as hex or not.
-
-
Constructor Details
-
ModuleBuilder
public ModuleBuilder()
-
-
Method Details