- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
RuntimeTypeInfo.BuilderBase.RuntimeTypeInfoImpl
Configuration specific to a factory method to create a runtime type from a prototype with a builder.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forRuntimeTypeInfo.static classRuntimeTypeInfo.BuilderBase<BUILDER extends RuntimeTypeInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends RuntimeTypeInfo> Fluent API builder base forRuntimeTypeInfo. -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeTypeInfo.Builderbuilder()Create a new fluent API builder to customize configuration.static RuntimeTypeInfo.Builderbuilder(RuntimeTypeInfo instance) Create a new fluent API builder from an existing instance.Factory method.Builder information associated with this factory method.
-
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
-
factoryMethod
Optional<FactoryMethod> factoryMethod()Factory method. If not defined, we expect the builder to build the correct type.- Returns:
- the factory method if present
-
optionBuilder
OptionBuilder optionBuilder()Builder information associated with this factory method.- Returns:
- builder information
-