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:
AbstractConfigSourceBuilder
,AbstractConfigSource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
mediaType(String mediaType)
Configure an explicit media type to be used with this source.B
parser(ConfigParser parser)
Configure an explicit parser to be used with the source.-
Methods inherited from interface io.helidon.config.spi.Source.Builder
optional, optional, retryPolicy
-
-
-
-
Method Detail
-
parser
B parser(ConfigParser parser)
Configure an explicit parser to be used with the source.- Parameters:
parser
- parser to use- Returns:
- updated builder instance
-
-