- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OptionProvider.BuilderBase.OptionProviderImpl
Definition of an option that is a provider (i.e. loaded through registry or service loader).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOptionProvider.static classOptionProvider.BuilderBase<BUILDER extends OptionProvider.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends OptionProvider> Fluent API builder base forOptionProvider. -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionProvider.Builderbuilder()Create a new fluent API builder to customize configuration.static OptionProvider.Builderbuilder(OptionProvider instance) Create a new fluent API builder from an existing instance.booleanWhether to discover services by default.Type of the provider to lookup.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
providerType
TypeName providerType()Type of the provider to lookup.- Returns:
- provider type
-
discoverServices
boolean discoverServices()Whether to discover services by default.- Returns:
- whether to discover services
-