Uses of Interface
cc.carm.lib.configuration.function.ValueValidator
Packages that use ValueValidator
Package
Description
-
Uses of ValueValidator in cc.carm.lib.configuration.builder
Fields in cc.carm.lib.configuration.builder declared as ValueValidatorModifier and TypeFieldDescriptionprotected @NotNull ValueValidator<UNIT> AbstractConfigBuilder.valueValidatorMethods in cc.carm.lib.configuration.builder with parameters of type ValueValidatorModifier and TypeMethodDescriptionAbstractConfigBuilder.validate(@NotNull ValueValidator<? super UNIT> validator) Validate the value with the specified condition.AbstractConfigBuilder.validator(@NotNull ValueValidator<UNIT> validator) Set theValueValidatorfor the value. -
Uses of ValueValidator in cc.carm.lib.configuration.function
Methods in cc.carm.lib.configuration.function that return ValueValidatorModifier and TypeMethodDescriptiondefault ValueValidator<T> ValueValidator.and(ValueValidator<? super T> other) static <V> ValueValidator<V> ValueValidator.none()static <V> ValueValidator<V> ValueValidator.nonnull()static <V> ValueValidator<V> static <V extends Number>
ValueValidator<V> ValueValidator.range(V min, V max) static <V extends Number>
ValueValidator<V> Methods in cc.carm.lib.configuration.function with parameters of type ValueValidatorModifier and TypeMethodDescriptiondefault ValueValidator<T> ValueValidator.and(ValueValidator<? super T> other) -
Uses of ValueValidator in cc.carm.lib.configuration.source
Method parameters in cc.carm.lib.configuration.source with type arguments of type ValueValidatorModifier and TypeMethodDescription<A extends Annotation>
SELFConfigurationFactory.validAnnotation(@NotNull Class<A> annotation, @NotNull Function<A, ValueValidator<Object>> builder) Register a new annotation forValueValidatorto the configuration loader -
Uses of ValueValidator in cc.carm.lib.configuration.source.loader
Method parameters in cc.carm.lib.configuration.source.loader with type arguments of type ValueValidatorModifier and TypeMethodDescription<A extends Annotation>
voidConfigurationInitializer.registerValidAnnotation(@NotNull Class<A> annotation, @NotNull Function<A, ValueValidator<Object>> builder) -
Uses of ValueValidator in cc.carm.lib.configuration.value
Fields in cc.carm.lib.configuration.value declared as ValueValidatorMethods in cc.carm.lib.configuration.value that return ValueValidatorMethods in cc.carm.lib.configuration.value with parameters of type ValueValidatorModifier and TypeMethodDescriptionvoidValueManifest.validate(@NotNull ValueValidator<UNIT> validator) voidValueManifest.validator(@NotNull ValueValidator<UNIT> validator) Constructors in cc.carm.lib.configuration.value with parameters of type ValueValidatorModifierConstructorDescriptionValueManifest(@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)