Uses of Class
space.arim.dazzleconf.LoadResult
Packages that use LoadResult
Package
Description
Version 2 of the library, provided as a separate package.
This package defines a framework for interactions between the library and the configuration format.
An optional API for migrations.
-
Uses of LoadResult in space.arim.dazzleconf
Methods in space.arim.dazzleconf that return LoadResultModifier and TypeMethodDescription@NonNull LoadResult<@NonNull C> Configuration.configureWith(@NonNull Backend backend) Configures, migrates, and/or updates the backend as needed.@NonNull LoadResult<@NonNull C> Configuration.configureWith(@NonNull Backend backend, @NonNull ConfigureListener configureListener) Configures, migrates, and/or updates the backend as needed.static <R> @NonNull LoadResult<R> LoadResult.failure(@NonNull List<@NonNull ErrorContext> reasons) Creates a failed load result with the given error contextsstatic <R> @NonNull LoadResult<R> LoadResult.failure(@NonNull ErrorContext @NonNull ... reasons) Creates a failed load result with the given error contexts<R_NEW> @NonNull LoadResult<R_NEW> LoadResult.flatMap(Function<? super R, ? extends LoadResult<R_NEW>> mapper) Maps from one load result to another.<R_NEW> @NonNull LoadResult<R_NEW> Maps from one load result to another.static <R> @NonNull LoadResult<R> LoadResult.of(R success) Makes a successful load result@NonNull LoadResult<@NonNull C> A simple, stateless read from a data tree.@NonNull LoadResult<@NonNull C> Configuration.readFrom(@NonNull DataTree dataTree, @NonNull UpdateListener updateListener) A simple, stateless read from a data tree.@NonNull LoadResult<@NonNull C> ConfigurationDefinition.readFrom(@NonNull DataTree dataTree, @NonNull ConfigurationDefinition.ReadOptions readOptions) A simple, stateless read from a data tree.@NonNull LoadResult<@NonNull C> ConfigurationDefinition.readWithUpdate(@NonNull DataTree.Mut dataTree, @NonNull ConfigurationDefinition.ReadWithUpdateOptions readOptions) Reads from the data tree given, and updates it as necessary.<R> @NonNull LoadResult<R> ErrorContext.Source.throwError(@NonNull CharSequence message) Builds an error context, wraps it in aLoadResultand returns it.<R> @NonNull LoadResult<R> ErrorContext.Source.throwError(@NonNull Printable message) Builds an error context, wraps it in aLoadResultand returns it.Method parameters in space.arim.dazzleconf with type arguments of type LoadResultModifier and TypeMethodDescription<R_NEW> @NonNull LoadResult<R_NEW> LoadResult.flatMap(Function<? super R, ? extends LoadResult<R_NEW>> mapper) Maps from one load result to another. -
Uses of LoadResult in space.arim.dazzleconf.backend
Methods in space.arim.dazzleconf.backend that return LoadResultModifier and TypeMethodDescription@NonNull LoadResult<@Nullable Backend.Document> Backend.read(@NonNull ErrorContext.Source errorSource) Reads data. -
Uses of LoadResult in space.arim.dazzleconf.engine
Methods in space.arim.dazzleconf.engine that return LoadResultModifier and TypeMethodDescription@NonNull LoadResult<@NonNull V> SerializeDeserialize.deserialize(@NonNull DeserializeInput deser) Deserializes using the given operable object.default @NonNull LoadResult<@NonNull V> SerializeDeserialize.deserializeUpdate(@NonNull DeserializeInput deser, @NonNull SerializeOutput updateTo) Deserializes using the given operable object, and updates the input value if needed.@NonNull LoadResult<@NonNull DataList> DeserializeInput.requireDataList()Requires the object to be a list of data entries.@NonNull LoadResult<@NonNull DataTree> DeserializeInput.requireDataTree()Requires the object to be a data tree, i.e.@NonNull LoadResult<@NonNull String> DeserializeInput.requireString()Requires the object to be a string -
Uses of LoadResult in space.arim.dazzleconf.migration
Methods in space.arim.dazzleconf.migration that return LoadResultModifier and TypeMethodDescription@NonNull LoadResult<@NonNull C> MigrateFromConfiguration.load(@NonNull MigrateContext migrateContext) @NonNull LoadResult<@NonNull C> MigrateSource.load(@NonNull MigrateContext migrateContext) Attempts to load this configuration version.@NonNull LoadResult<@NonNull C_NEW> Migration.tryMigrate(@NonNull MigrateContext migrateContext) Tries to migrate.