java.lang.Object
io.helidon.dbclient.DbMapperManager.Builder
- All Implemented Interfaces:
Builder<DbMapperManager.Builder,
,DbMapperManager> Supplier<DbMapperManager>
- Enclosing interface:
DbMapperManager
public static final class DbMapperManager.Builder
extends Object
implements Builder<DbMapperManager.Builder,DbMapperManager>
Fluent API builder for
DbMapperManager
.-
Method Summary
Modifier and TypeMethodDescriptionaddMapperProvider
(DbMapperProvider provider) Add a mapper provider.addMapperProvider
(DbMapperProvider provider, int weight) Add a mapper provider with custom priority.build()
Build the instance from this builder.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<DbMapperManager.Builder,
DbMapperManager> - Returns:
- instance of the built type
-
addMapperProvider
Add a mapper provider.- Parameters:
provider
- prioritized provider- Returns:
- updated builder instance
-
addMapperProvider
Add a mapper provider with custom priority.- Parameters:
provider
- providerweight
- weight to use- Returns:
- updated builder instance
- See Also:
-