Uses of Class
cc.carm.lib.configuration.adapter.ValueType
Packages that use ValueType
Package
Description
-
Uses of ValueType in cc.carm.lib.configuration.adapter
Fields in cc.carm.lib.configuration.adapter declared as ValueTypeModifier and TypeFieldDescriptionValueType.BOOLEAN
ValueType.BOOLEAN_TYPE
ValueType.BYTE
ValueType.BYTE_TYPE
ValueType.CHAR
ValueType.CHAR_TYPE
ValueType.DOUBLE
ValueType.DOUBLE_TYPE
ValueType.FLOAT
ValueType.FLOAT_TYPE
ValueType.INTEGER
ValueType.INTEGER_TYPE
ValueType.LONG
ValueType.LONG_TYPE
static final ValueType<?>[]
ValueType.PRIMITIVE_TYPES
ValueType.SHORT
ValueType.SHORT_TYPE
ValueType.STRING
ValueAdapter.type
Methods in cc.carm.lib.configuration.adapter that return ValueTypeModifier and TypeMethodDescriptionstatic <T> ValueType
<T> static <T> ValueType
<T> Get the generic type of the complex type.static <T> ValueType
<T> static <T> ValueType
<T> ValueType.of
(T value) ValueAdapter.type()
Methods in cc.carm.lib.configuration.adapter with parameters of type ValueTypeModifier and TypeMethodDescription<T> @Nullable ValueAdapter
<T> <T> T
ValueAdapterRegistry.deserialize
(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<T> type, @Nullable Object source) protected <T> List
<T> ValueAdapterRegistry.deserializeList
(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<T> type, @Nullable Object source) boolean
ValueType.isSubtypeOf
(ValueType<?> target) Checks if this ValueType is a subtype of the given ValueType.ValueAdapter.parse
(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, @NotNull Object value) ValueParser.parse
(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, @NotNull Object data) <FROM,
TO> void ValueAdapterRegistry.register
(@NotNull ValueType<FROM> from, @NotNull ValueType<TO> to, @Nullable DataFunction<FROM, TO> parser, @Nullable DataFunction<TO, FROM> serializer) <T> void
ValueAdapterRegistry.register
(@NotNull ValueType<T> type, @NotNull ValueParser<T> deserializer) <T> void
ValueAdapterRegistry.register
(@NotNull ValueType<T> type, @NotNull ValueSerializer<T> serializer) <T> void
ValueAdapterRegistry.register
(@NotNull ValueType<T> type, @Nullable ValueSerializer<T> serializer, @Nullable ValueParser<T> deserializer) @Nullable Object
ValueAdapter.serialize
(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, TYPE value) @Nullable Object
ValueSerializer.serialize
(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, TYPE value) void
ValueAdapterRegistry.unregister
(@NotNull ValueType<?> type) Constructors in cc.carm.lib.configuration.adapter with parameters of type ValueTypeModifierConstructorDescriptionValueAdapter
(@NotNull ValueType<TYPE> type) ValueAdapter
(@NotNull ValueType<TYPE> type, @Nullable ValueSerializer<TYPE> serializer, @Nullable ValueParser<TYPE> parser) -
Uses of ValueType in cc.carm.lib.configuration.builder
Fields in cc.carm.lib.configuration.builder declared as ValueTypeMethods in cc.carm.lib.configuration.builder that return ValueTypeConstructors in cc.carm.lib.configuration.builder with parameters of type ValueTypeModifierConstructorDescriptionprotected
AbstractConfigBuilder
(Class<? super HOLDER> providerClass, ValueType<TYPE> type) protected
CommonConfigBuilder
(ValueType<TYPE> type) -
Uses of ValueType in cc.carm.lib.configuration.builder.impl
Fields in cc.carm.lib.configuration.builder.impl declared as ValueTypeModifier and TypeFieldDescriptionAbstractSectionBuilder.paramType
AbstractSourceBuilder.paramType
AbstractSourceBuilder.sourceType
Constructors in cc.carm.lib.configuration.builder.impl with parameters of type ValueTypeModifierConstructorDescriptionprotected
AbstractSectionBuilder
(@NotNull ValueType<TYPE> type, @NotNull ValueType<UNIT> paramType, @NotNull ValueHandler<ConfigureSection, UNIT> parser, @NotNull ValueHandler<UNIT, ? extends Map<String, Object>> serializer) protected
AbstractSourceBuilder
(@NotNull ValueType<V> type, @NotNull ValueType<SOURCE> sourceType, @NotNull ValueType<UNIT> paramType, @NotNull ValueHandler<SOURCE, UNIT> parser, @NotNull ValueHandler<UNIT, SOURCE> serializer) -
Uses of ValueType in cc.carm.lib.configuration.builder.list
Fields in cc.carm.lib.configuration.builder.list declared as ValueTypeMethods in cc.carm.lib.configuration.builder.list with parameters of type ValueTypeConstructors in cc.carm.lib.configuration.builder.list with parameters of type ValueTypeModifierConstructorDescriptionConfigListBuilder
(@NotNull ValueType<V> type) SectionListBuilder
(@NotNull Supplier<? extends List<V>> constructor, @NotNull ValueType<V> paramType, @NotNull ValueHandler<ConfigureSection, V> parser, @NotNull ValueHandler<V, ? extends Map<String, Object>> serializer) SourceListBuilder
(@NotNull Supplier<? extends List<V>> constructor, @NotNull ValueType<SOURCE> sourceType, @NotNull ValueType<V> paramType, @NotNull ValueHandler<SOURCE, V> parser, @NotNull ValueHandler<V, SOURCE> serializer) -
Uses of ValueType in cc.carm.lib.configuration.builder.map
Fields in cc.carm.lib.configuration.builder.map declared as ValueTypeModifier and TypeFieldDescriptionConfigMapBuilder.keyType
ConfigMapCreator.keyType
SectionMapBuilder.keyType
SourceMapBuilder.keyType
ConfigMapBuilder.valueType
ConfigMapCreator.valueType
Methods in cc.carm.lib.configuration.builder.map with parameters of type ValueTypeModifier and TypeMethodDescription<S> @NotNull SourceMapBuilder
<M, S, K, V> <S> @NotNull SourceMapBuilder
<M, S, K, V> ConfigMapBuilder.from
(@NotNull ValueType<S> sourceType, @NotNull ValueHandler<String, K> keyParser, @NotNull ValueHandler<K, String> keySerializer, @NotNull ValueHandler<S, V> valueParser, @NotNull ValueHandler<V, S> valueSerializer) Constructors in cc.carm.lib.configuration.builder.map with parameters of type ValueTypeModifierConstructorDescriptionConfigMapBuilder
(@NotNull Supplier<@NotNull M> constructor, @NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType) ConfigMapCreator
(@NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType) SectionMapBuilder
(@NotNull Supplier<? extends MAP> constructor, @NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType, @NotNull ValueHandler<String, K> keyParser, @NotNull ValueHandler<K, String> keySerializer, @NotNull ValueHandler<ConfigureSection, V> valueParser, @NotNull ValueHandler<V, Map<String, Object>> valueSerializer) SourceMapBuilder
(@NotNull Supplier<? extends MAP> constructor, @NotNull ValueType<SOURCE> sourceType, @NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType, @NotNull ValueHandler<String, K> keyParser, @NotNull ValueHandler<K, String> keySerializer, @NotNull ValueHandler<SOURCE, V> valueParser, @NotNull ValueHandler<V, SOURCE> valueSerializer) -
Uses of ValueType in cc.carm.lib.configuration.builder.value
Fields in cc.carm.lib.configuration.builder.value declared as ValueTypeMethods in cc.carm.lib.configuration.builder.value with parameters of type ValueTypeModifier and TypeMethodDescription<S> @NotNull SourceValueBuilder
<S, V> <S> @NotNull SourceValueBuilder
<S, V> ConfigValueBuilder.from
(@NotNull ValueType<S> sourceType, @NotNull ValueHandler<S, V> valueParser, @NotNull ValueHandler<V, S> valueSerializer) Constructors in cc.carm.lib.configuration.builder.value with parameters of type ValueTypeModifierConstructorDescriptionConfigValueBuilder
(@NotNull ValueType<V> type) SectionValueBuilder
(@NotNull ValueType<V> type, @NotNull ValueHandler<ConfigureSection, V> parser, @NotNull ValueHandler<V, ? extends Map<String, Object>> serializer) SourceValueBuilder
(@NotNull ValueType<S> sourceType, @NotNull ValueType<V> valueType, @NotNull ValueHandler<S, V> parser, @NotNull ValueHandler<V, S> serializer) -
Uses of ValueType in cc.carm.lib.configuration.function
Methods in cc.carm.lib.configuration.function with parameters of type ValueTypeModifier and TypeMethodDescriptionstatic <O,
T> @NotNull ValueHandler <O, T> ValueHandler.deserialize
(ValueType<T> to) static <T,
V> @NotNull ValueHandler <T, V> -
Uses of ValueType in cc.carm.lib.configuration.source
Methods in cc.carm.lib.configuration.source with parameters of type ValueTypeModifier and TypeMethodDescription<FROM,
TO> SELF ConfigurationFactory.adapter
(@NotNull ValueType<FROM> from, @NotNull ValueType<TO> to, @NotNull DataFunction<FROM, TO> parser, @NotNull DataFunction<TO, FROM> serializer) <T> SELF
ConfigurationFactory.adapter
(@NotNull ValueType<T> type, @NotNull ValueParser<T> parser) <T> SELF
ConfigurationFactory.adapter
(@NotNull ValueType<T> type, @NotNull ValueSerializer<T> serializer) <T> SELF
ConfigurationFactory.adapter
(@NotNull ValueType<T> type, @NotNull ValueSerializer<T> serializer, @NotNull ValueParser<T> parser) <T> T
ConfigurationHolder.deserialize
(@NotNull ValueType<T> type, @Nullable Object source) -
Uses of ValueType in cc.carm.lib.configuration.value
Fields in cc.carm.lib.configuration.value declared as ValueTypeMethods in cc.carm.lib.configuration.value that return ValueTypeConstructors in cc.carm.lib.configuration.value with parameters of type ValueTypeModifierConstructorDescriptionValueManifest
(@NotNull ValueType<TYPE> type) ValueManifest
(@NotNull ValueType<TYPE> type, @NotNull Supplier<@Nullable TYPE> defaultSupplier) ValueManifest
(@NotNull ValueType<TYPE> type, @NotNull Supplier<@Nullable TYPE> defaultSupplier, @NotNull ValueValidator<UNIT> validator) ValueManifest
(@NotNull ValueType<TYPE> type, @NotNull Supplier<@Nullable TYPE> defaultSupplier, @NotNull ValueValidator<UNIT> validator, @NotNull BiConsumer<@NotNull ConfigurationHolder<?>, @NotNull String> initializer) ValueManifest
(@NotNull ValueType<TYPE> type, @NotNull Supplier<@Nullable TYPE> defaultSupplier, @NotNull ValueValidator<UNIT> validator, @NotNull BiConsumer<@NotNull ConfigurationHolder<?>, @NotNull String> initializer, @Nullable ConfigurationHolder<?> holder, @Nullable String path) -
Uses of ValueType in cc.carm.lib.configuration.value.standard
Methods in cc.carm.lib.configuration.value.standard that return ValueTypeModifier and TypeMethodDescriptionConfiguredMap.keyType()
ConfiguredList.paramType()
ConfiguredMap.valueType()
Methods in cc.carm.lib.configuration.value.standard with parameters of type ValueTypeModifier and TypeMethodDescriptionstatic <T> @NotNull ConfigListBuilder
<T> static <K,
V> ConfigMapCreator <K, V> static <V> ConfigValueBuilder
<V> Create a new value builder.static <V> ConfiguredValue
<V> static <V> ConfiguredValue
<V> static <T> @NotNull SourceListBuilder
<T, T> static <V> SourceValueBuilder
<V, V> Create a new value builder with the specifiedConfigurationHolder.registeredValues()
type.