Class ConfigValueBuilder<V>
- java.lang.Object
-
- cc.carm.lib.configuration.core.builder.value.ConfigValueBuilder<V>
-
public class ConfigValueBuilder<V> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected @NotNull java.lang.Class<V>
valueClass
-
Constructor Summary
Constructors Constructor Description ConfigValueBuilder(@NotNull java.lang.Class<V> valueClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> @NotNull SourceValueBuilder<S,V>
from(@NotNull java.lang.Class<S> sourceClass, @NotNull ConfigDataFunction<java.lang.Object,S> sourceParser, @NotNull ConfigValueParser<S,V> valueParser, @NotNull ConfigDataFunction<V,S> valueSerializer, @NotNull ConfigDataFunction<S,java.lang.Object> sourceSerializer)
<S> @NotNull SourceValueBuilder<S,V>
from(java.lang.Class<S> sourceClass)
@NotNull SourceValueBuilder<java.lang.Object,V>
fromObject()
@NotNull SectionValueBuilder<V>
fromSection()
@NotNull SectionValueBuilder<V>
fromSection(@NotNull ConfigValueParser<ConfigurationWrapper<?>,V> valueParser, @NotNull ConfigDataFunction<V,? extends java.util.Map<java.lang.String,java.lang.Object>> valueSerializer)
@NotNull SourceValueBuilder<java.lang.String,V>
fromString()
-
-
-
Field Detail
-
valueClass
@NotNull protected final @NotNull java.lang.Class<V> valueClass
-
-
Constructor Detail
-
ConfigValueBuilder
public ConfigValueBuilder(@NotNull @NotNull java.lang.Class<V> valueClass)
-
-
Method Detail
-
fromSection
@NotNull public @NotNull SectionValueBuilder<V> fromSection()
-
fromSection
@NotNull public @NotNull SectionValueBuilder<V> fromSection(@NotNull @NotNull ConfigValueParser<ConfigurationWrapper<?>,V> valueParser, @NotNull @NotNull ConfigDataFunction<V,? extends java.util.Map<java.lang.String,java.lang.Object>> valueSerializer)
-
from
@NotNull public <S> @NotNull SourceValueBuilder<S,V> from(java.lang.Class<S> sourceClass)
-
from
@NotNull public <S> @NotNull SourceValueBuilder<S,V> from(@NotNull @NotNull java.lang.Class<S> sourceClass, @NotNull @NotNull ConfigDataFunction<java.lang.Object,S> sourceParser, @NotNull @NotNull ConfigValueParser<S,V> valueParser, @NotNull @NotNull ConfigDataFunction<V,S> valueSerializer, @NotNull @NotNull ConfigDataFunction<S,java.lang.Object> sourceSerializer)
-
fromObject
@NotNull public @NotNull SourceValueBuilder<java.lang.Object,V> fromObject()
-
fromString
@NotNull public @NotNull SourceValueBuilder<java.lang.String,V> fromString()
-
-