Uses of Class
cc.carm.lib.configuration.adapter.ValueType
-
-
Uses of ValueType in cc.carm.lib.configuration.adapter
Fields in cc.carm.lib.configuration.adapter declared as ValueType Modifier and Type Field Description static ValueType<java.lang.Boolean>ValueType. BOOLEANstatic ValueType<java.lang.Boolean>ValueType. BOOLEAN_TYPEstatic ValueType<java.lang.Byte>ValueType. BYTEstatic ValueType<java.lang.Byte>ValueType. BYTE_TYPEstatic ValueType<java.lang.Character>ValueType. CHARstatic ValueType<java.lang.Character>ValueType. CHAR_TYPEstatic ValueType<java.lang.Double>ValueType. DOUBLEstatic ValueType<java.lang.Double>ValueType. DOUBLE_TYPEstatic ValueType<java.lang.Float>ValueType. FLOATstatic ValueType<java.lang.Float>ValueType. FLOAT_TYPEstatic ValueType<java.lang.Integer>ValueType. INTEGERstatic ValueType<java.lang.Integer>ValueType. INTEGER_TYPEstatic ValueType<java.lang.Long>ValueType. LONGstatic ValueType<java.lang.Long>ValueType. LONG_TYPEstatic ValueType<?>[]ValueType. PRIMITIVE_TYPESstatic ValueType<java.lang.Short>ValueType. SHORTstatic ValueType<java.lang.Short>ValueType. SHORT_TYPEstatic ValueType<java.lang.String>ValueType. STRINGprotected @NotNull ValueType<TYPE>ValueAdapter. typeMethods in cc.carm.lib.configuration.adapter that return ValueType Modifier and Type Method Description static <T> ValueType<T>ValueType. of(java.lang.Class<?> rawType, java.lang.reflect.Type... types)Get the generic type of the complex type.static <T> ValueType<T>ValueType. of(java.lang.Class<T> clazz)static <T> ValueType<T>ValueType. of(java.lang.reflect.Type type)static <T> ValueType<T>ValueType. of(T value)@NotNull ValueType<TYPE>ValueAdapter. type()Methods in cc.carm.lib.configuration.adapter with parameters of type ValueType Modifier and Type Method Description <T> @Nullable ValueAdapter<T>ValueAdapterRegistry. adapterOf(@NotNull ValueType<T> type)<T> TValueAdapterRegistry. deserialize(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<T> type, @Nullable java.lang.Object source)booleanValueType. isSubtypeOf(ValueType<?> target)TYPEValueAdapter. parse(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, @NotNull java.lang.Object value)TYPEValueParser. parse(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, @NotNull java.lang.Object data)<FROM,TO>
voidValueAdapterRegistry. register(@NotNull ValueType<FROM> from, @NotNull ValueType<TO> to, @Nullable DataFunction<FROM,TO> parser, @Nullable DataFunction<TO,FROM> serializer)<T> voidValueAdapterRegistry. register(@NotNull ValueType<T> type, @NotNull ValueParser<T> deserializer)<T> voidValueAdapterRegistry. register(@NotNull ValueType<T> type, @NotNull ValueSerializer<T> serializer)<T> voidValueAdapterRegistry. register(@NotNull ValueType<T> type, @Nullable ValueSerializer<T> serializer, @Nullable ValueParser<T> deserializer)java.lang.ObjectValueAdapter. serialize(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, TYPE value)java.lang.ObjectValueSerializer. serialize(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, TYPE value)voidValueAdapterRegistry. unregister(@NotNull ValueType<?> type)Constructors in cc.carm.lib.configuration.adapter with parameters of type ValueType Constructor Description ValueAdapter(@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 ValueType Modifier and Type Field Description protected ValueType<TYPE>AbstractConfigBuilder. typeMethods in cc.carm.lib.configuration.builder that return ValueType Modifier and Type Method Description @NotNull ValueType<TYPE>AbstractConfigBuilder. type()Constructors in cc.carm.lib.configuration.builder with parameters of type ValueType Constructor Description AbstractConfigBuilder(java.lang.Class<? super HOLDER> providerClass, ValueType<TYPE> type)CommonConfigBuilder(ValueType<TYPE> type) -
Uses of ValueType in cc.carm.lib.configuration.builder.impl
Fields in cc.carm.lib.configuration.builder.impl declared as ValueType Modifier and Type Field Description protected @NotNull ValueType<PARAM>AbstractSectionBuilder. paramTypeprotected @NotNull ValueType<PARAM>AbstractSourceBuilder. paramTypeprotected @NotNull ValueType<SOURCE>AbstractSourceBuilder. sourceTypeConstructors in cc.carm.lib.configuration.builder.impl with parameters of type ValueType Constructor Description AbstractSectionBuilder(@NotNull ValueType<TYPE> type, @NotNull ValueType<PARAM> paramType, @NotNull ValueHandler<ConfigureSection,PARAM> parser, @NotNull ValueHandler<PARAM,? extends java.util.Map<java.lang.String,java.lang.Object>> serializer)AbstractSourceBuilder(@NotNull ValueType<V> type, @NotNull ValueType<SOURCE> sourceType, @NotNull ValueType<PARAM> paramType, @NotNull ValueHandler<SOURCE,PARAM> parser, @NotNull ValueHandler<PARAM,SOURCE> serializer) -
Uses of ValueType in cc.carm.lib.configuration.builder.list
Fields in cc.carm.lib.configuration.builder.list declared as ValueType Modifier and Type Field Description protected @NotNull ValueType<V>ConfigListBuilder. typeMethods in cc.carm.lib.configuration.builder.list with parameters of type ValueType Modifier and Type Method Description <S> @NotNull SourceListBuilder<S,V>ConfigListBuilder. from(@NotNull ValueType<S> sourceType)Constructors in cc.carm.lib.configuration.builder.list with parameters of type ValueType Constructor Description ConfigListBuilder(@NotNull ValueType<V> type)SectionListBuilder(@NotNull java.util.function.Supplier<? extends java.util.List<V>> constructor, @NotNull ValueType<V> paramType, @NotNull ValueHandler<ConfigureSection,V> parser, @NotNull ValueHandler<V,? extends java.util.Map<java.lang.String,java.lang.Object>> serializer)SourceListBuilder(@NotNull java.util.function.Supplier<? extends java.util.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 ValueType Modifier and Type Field Description protected @NotNull ValueType<K>ConfigMapBuilder. keyTypeprotected @NotNull ValueType<K>ConfigMapCreator. keyTypeprotected @NotNull ValueType<K>SectionMapBuilder. keyTypeprotected @NotNull ValueType<K>SourceMapBuilder. keyTypeprotected @NotNull ValueType<V>ConfigMapBuilder. valueTypeprotected @NotNull ValueType<V>ConfigMapCreator. valueTypeMethods in cc.carm.lib.configuration.builder.map with parameters of type ValueType Modifier and Type Method Description <S> @NotNull SourceMapBuilder<M,S,K,V>ConfigMapBuilder. from(@NotNull ValueType<S> sourceType)<S> @NotNull SourceMapBuilder<M,S,K,V>ConfigMapBuilder. from(@NotNull ValueType<S> sourceType, @NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull ValueHandler<K,java.lang.String> keySerializer, @NotNull ValueHandler<S,V> valueParser, @NotNull ValueHandler<V,S> valueSerializer)Constructors in cc.carm.lib.configuration.builder.map with parameters of type ValueType Constructor Description ConfigMapBuilder(@NotNull java.util.function.Supplier<@NotNull M> constructor, @NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType)ConfigMapCreator(@NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType)SectionMapBuilder(@NotNull java.util.function.Supplier<? extends MAP> constructor, @NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType, @NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull ValueHandler<K,java.lang.String> keySerializer, @NotNull ValueHandler<ConfigureSection,V> valueParser, @NotNull ValueHandler<V,java.util.Map<java.lang.String,java.lang.Object>> valueSerializer)SourceMapBuilder(@NotNull java.util.function.Supplier<? extends MAP> constructor, @NotNull ValueType<SOURCE> sourceType, @NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType, @NotNull ValueHandler<java.lang.String,K> keyParser, @NotNull ValueHandler<K,java.lang.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 ValueType Modifier and Type Field Description protected @NotNull ValueType<V>ConfigValueBuilder. typeMethods in cc.carm.lib.configuration.builder.value with parameters of type ValueType Modifier and Type Method Description <S> @NotNull SourceValueBuilder<S,V>ConfigValueBuilder. from(@NotNull ValueType<S> sourceType)<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 ValueType Constructor Description ConfigValueBuilder(@NotNull ValueType<V> type)SectionValueBuilder(@NotNull ValueType<V> type, @NotNull ValueHandler<ConfigureSection,V> parser, @NotNull ValueHandler<V,? extends java.util.Map<java.lang.String,java.lang.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 ValueType Modifier and Type Method Description static <O,T>
@NotNull ValueHandler<O,T>ValueHandler. deserialize(ValueType<T> to)static <T,V>
@NotNull ValueHandler<T,V>ValueHandler. required(ValueType<V> type) -
Uses of ValueType in cc.carm.lib.configuration.source
Methods in cc.carm.lib.configuration.source with parameters of type ValueType Modifier and Type Method Description <FROM,TO>
SELFConfigurationFactory. adapter(@NotNull ValueType<FROM> from, @NotNull ValueType<TO> to, @NotNull DataFunction<FROM,TO> parser, @NotNull DataFunction<TO,FROM> serializer)<T> SELFConfigurationFactory. adapter(@NotNull ValueType<T> type, @NotNull ValueParser<T> parser)<T> SELFConfigurationFactory. adapter(@NotNull ValueType<T> type, @NotNull ValueSerializer<T> serializer)<T> SELFConfigurationFactory. adapter(@NotNull ValueType<T> type, @NotNull ValueSerializer<T> serializer, @NotNull ValueParser<T> parser)<T> TConfigurationHolder. deserialize(@NotNull ValueType<T> type, @Nullable java.lang.Object source) -
Uses of ValueType in cc.carm.lib.configuration.value
Fields in cc.carm.lib.configuration.value declared as ValueType Modifier and Type Field Description protected @NotNull ValueType<T>ValueManifest. typeMethods in cc.carm.lib.configuration.value that return ValueType Modifier and Type Method Description @NotNull ValueType<T>ValueManifest. type()Constructors in cc.carm.lib.configuration.value with parameters of type ValueType Constructor Description ValueManifest(@NotNull ValueType<T> type)ValueManifest(@NotNull ValueType<T> type, @NotNull java.util.function.Supplier<@Nullable T> defaultSupplier)ValueManifest(@NotNull ValueType<T> type, @NotNull java.util.function.Supplier<@Nullable T> defaultSupplier, @NotNull java.util.function.BiConsumer<@NotNull ConfigurationHolder<?>,@NotNull java.lang.String> initializer)ValueManifest(@NotNull ValueType<T> type, @NotNull java.util.function.Supplier<@Nullable T> defaultSupplier, @NotNull java.util.function.BiConsumer<@NotNull ConfigurationHolder<?>,@NotNull java.lang.String> initializer, @Nullable ConfigurationHolder<?> holder, @Nullable java.lang.String path) -
Uses of ValueType in cc.carm.lib.configuration.value.standard
Methods in cc.carm.lib.configuration.value.standard that return ValueType Modifier and Type Method Description @NotNull ValueType<K>ConfiguredMap. keyType()@NotNull ValueType<V>ConfiguredList. paramType()@NotNull ValueType<V>ConfiguredMap. valueType()Methods in cc.carm.lib.configuration.value.standard with parameters of type ValueType Modifier and Type Method Description static <T> @NotNull ConfigListBuilder<T>ConfiguredList. builderOf(@NotNull ValueType<T> type)static <K,V>
ConfigMapCreator<K,V>ConfiguredMap. builderOf(@NotNull ValueType<K> keyType, @NotNull ValueType<V> valueType)static <V> ConfigValueBuilder<V>ConfiguredValue. builderOf(@NotNull ValueType<V> type)static <V> ConfiguredValue<V>ConfiguredValue. of(@NotNull ValueType<V> type)static <V> ConfiguredValue<V>ConfiguredValue. of(@NotNull ValueType<V> type, @NotNull java.util.function.Supplier<@Nullable V> defaultSupplier)
-