Module io.helidon.config
Package io.helidon.config.spi
Interface ParsableSource.Builder<B extends ParsableSource.Builder<B>>
- Type Parameters:
B
- type of the builder, used when extending this builder (MyBuilder implements Builder<MyBuilder>
- All Superinterfaces:
Source.Builder<B>
- All Known Implementing Classes:
ClasspathConfigSource.Builder
,EtcdConfigSourceBuilder
,FileConfigSource.Builder
,GitConfigSourceBuilder
,UrlConfigSource.Builder
- Enclosing interface:
ParsableSource
public static interface ParsableSource.Builder<B extends ParsableSource.Builder<B>>
extends Source.Builder<B>
A builder for a parsable source.
- See Also:
-
Method Summary
Methods inherited from interface io.helidon.config.spi.Source.Builder
optional, optional, retryPolicy
-
Method Details
-
parser
Configure an explicit parser to be used with the source.- Parameters:
parser
- parser to use- Returns:
- updated builder instance
-
mediaType
Configure an explicit media type to be used with this source. This method is ignored if a parser was configured.- Parameters:
mediaType
- media type to use- Returns:
- updated builder instance
-