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