Class SimpleCollectionCreator.Section<V,C extends Collection<V>,RESULT extends CollectionConfigValue<V,C,?>>
java.lang.Object
cc.carm.lib.configuration.builder.AbstractConfigBuilder<C,V,RESULT,ConfigurationHolder<?>,SimpleCollectionCreator.Section<V,C,RESULT>>
cc.carm.lib.configuration.builder.CommonConfigBuilder<C,V,RESULT,SimpleCollectionCreator.Section<V,C,RESULT>>
cc.carm.lib.configuration.builder.impl.AbstractSectionBuilder<C,V,RESULT,SimpleCollectionCreator.Section<V,C,RESULT>>
cc.carm.lib.configuration.builder.collection.SectionCollectionBuilder<V,C,RESULT,SimpleCollectionCreator.Section<V,C,RESULT>>
cc.carm.lib.configuration.builder.collection.SimpleCollectionCreator.Section<V,C,RESULT>
- Enclosing class:
SimpleCollectionCreator<V,
C extends Collection<V>, RESULT extends CollectionConfigValue<V, C, ?>>
public static class SimpleCollectionCreator.Section<V,C extends Collection<V>,RESULT extends CollectionConfigValue<V,C,?>>
extends SectionCollectionBuilder<V,C,RESULT,SimpleCollectionCreator.Section<V,C,RESULT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @NotNull SimpleCollectionCreator.CollectionValueFactory
<V, C, RESULT> Fields inherited from class cc.carm.lib.configuration.builder.collection.SectionCollectionBuilder
constructor
Fields inherited from class cc.carm.lib.configuration.builder.impl.AbstractSectionBuilder
paramType, parser, serializer
Fields inherited from class cc.carm.lib.configuration.builder.AbstractConfigBuilder
defaultValueSupplier, holder, initializer, path, providerClass, type, valueValidator
-
Constructor Summary
ConstructorsConstructorDescriptionSection
(@NotNull Supplier<? extends C> constructor, @NotNull ValueType<V> paramType, @NotNull ValueHandler<ConfigureSection, V> parser, @NotNull ValueHandler<V, ? extends Map<String, Object>> serializer, @NotNull SimpleCollectionCreator.CollectionValueFactory<V, C, RESULT> factory) -
Method Summary
Methods inherited from class cc.carm.lib.configuration.builder.collection.SectionCollectionBuilder
construct, constructor, defaults, defaults
Methods inherited from class cc.carm.lib.configuration.builder.impl.AbstractSectionBuilder
buildAdapter, parse, parse, serialize, serialize, serialize
-
Field Details
-
factory
@NotNull protected final @NotNull SimpleCollectionCreator.CollectionValueFactory<V,C extends Collection<V>, factoryRESULT extends CollectionConfigValue<V, C, ?>>
-
-
Constructor Details
-
Section
public Section(@NotNull @NotNull Supplier<? extends C> constructor, @NotNull @NotNull ValueType<V> paramType, @NotNull @NotNull ValueHandler<ConfigureSection, V> parser, @NotNull @NotNull ValueHandler<V, ? extends Map<String, Object>> serializer, @NotNull @NotNull SimpleCollectionCreator.CollectionValueFactory<V, C, RESULT> factory)
-
-
Method Details
-
self
- Specified by:
self
in classAbstractConfigBuilder<C extends Collection<V>,
V, RESULT extends CollectionConfigValue<V, C, ?>, ConfigurationHolder<?>, SimpleCollectionCreator.Section<V, C extends Collection<V>, RESULT extends CollectionConfigValue<V, C, ?>>>
-
build
- Specified by:
build
in classAbstractConfigBuilder<C extends Collection<V>,
V, RESULT extends CollectionConfigValue<V, C, ?>, ConfigurationHolder<?>, SimpleCollectionCreator.Section<V, C extends Collection<V>, RESULT extends CollectionConfigValue<V, C, ?>>>
-