Module io.helidon.json.schema
Package io.helidon.json.schema
Class SchemaBoolean.BuilderBase<BUILDER extends SchemaBoolean.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends SchemaBoolean>
java.lang.Object
io.helidon.json.schema.SchemaItem.BuilderBase<BUILDER,PROTOTYPE>
io.helidon.json.schema.SchemaBoolean.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER,PROTOTYPE>
- Direct Known Subclasses:
SchemaBoolean.Builder
- Enclosing interface:
SchemaBoolean
public abstract static class SchemaBoolean.BuilderBase<BUILDER extends SchemaBoolean.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends SchemaBoolean>
extends SchemaItem.BuilderBase<BUILDER,PROTOTYPE>
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
SchemaBoolean.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class io.helidon.json.schema.SchemaItem.BuilderBase
SchemaItem.BuilderBase.SchemaItemImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom(SchemaBoolean prototype) Update this builder from an existing prototype instance.from(SchemaBoolean.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class io.helidon.json.schema.SchemaItem.BuilderBase
clearDescription, clearTitle, description, description, from, from, required, required, title, titleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
toString
- Overrides:
toStringin classSchemaItem.BuilderBase<BUILDER extends SchemaBoolean.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaBoolean>
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators.- Overrides:
preBuildPrototypein classSchemaItem.BuilderBase<BUILDER extends SchemaBoolean.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaBoolean>
-
validatePrototype
protected void validatePrototype()Validates required properties.- Overrides:
validatePrototypein classSchemaItem.BuilderBase<BUILDER extends SchemaBoolean.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaBoolean>
-