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. BOOLEAN
static ValueType<java.lang.Boolean>
ValueType. BOOLEAN_TYPE
static ValueType<java.lang.Byte>
ValueType. BYTE
static ValueType<java.lang.Byte>
ValueType. BYTE_TYPE
static ValueType<java.lang.Character>
ValueType. CHAR
static ValueType<java.lang.Character>
ValueType. CHAR_TYPE
static ValueType<java.lang.Double>
ValueType. DOUBLE
static ValueType<java.lang.Double>
ValueType. DOUBLE_TYPE
static ValueType<java.lang.Float>
ValueType. FLOAT
static ValueType<java.lang.Float>
ValueType. FLOAT_TYPE
static ValueType<java.lang.Integer>
ValueType. INTEGER
static ValueType<java.lang.Integer>
ValueType. INTEGER_TYPE
static ValueType<java.lang.Long>
ValueType. LONG
static ValueType<java.lang.Long>
ValueType. LONG_TYPE
static ValueType<?>[]
ValueType. PRIMITIVE_TYPES
static ValueType<java.lang.Short>
ValueType. SHORT
static ValueType<java.lang.Short>
ValueType. SHORT_TYPE
static ValueType<java.lang.String>
ValueType. STRING
protected @NotNull ValueType<TYPE>
ValueAdapter. type
Methods 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> T
ValueAdapterRegistry. deserialize(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<T> type, @Nullable java.lang.Object source)
boolean
ValueType. isSubtypeOf(ValueType<?> target)
TYPE
ValueAdapter. parse(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, @NotNull java.lang.Object value)
TYPE
ValueParser. 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> 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)
java.lang.Object
ValueAdapter. serialize(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, TYPE value)
java.lang.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 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. type
Methods 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. paramType
protected @NotNull ValueType<PARAM>
AbstractSourceBuilder. paramType
protected @NotNull ValueType<SOURCE>
AbstractSourceBuilder. sourceType
Constructors 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. type
Methods 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. keyType
protected @NotNull ValueType<K>
ConfigMapCreator. keyType
protected @NotNull ValueType<K>
SectionMapBuilder. keyType
protected @NotNull ValueType<K>
SourceMapBuilder. keyType
protected @NotNull ValueType<V>
ConfigMapBuilder. valueType
protected @NotNull ValueType<V>
ConfigMapCreator. valueType
Methods 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. type
Methods 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> 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 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. type
Methods 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)
-