Class CodegenEvent.Builder
java.lang.Object
io.helidon.codegen.CodegenEvent.BuilderBase<CodegenEvent.Builder>
io.helidon.codegen.CodegenEvent.Builder
- All Implemented Interfaces:
Builder<CodegenEvent.Builder, CodegenEvent>, Supplier<CodegenEvent>
- Enclosing interface:
CodegenEvent
Fluent API builder for
CodegenEvent.-
Nested Class Summary
Nested classes/interfaces inherited from class CodegenEvent.BuilderBase
CodegenEvent.BuilderBase.CodegenEventImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Methods inherited from class CodegenEvent.BuilderBase
addObject, addObjects, clearThrowable, from, from, level, level, message, message, objects, objects, preBuildPrototype, throwable, throwable, toString, validatePrototypeModifier and TypeMethodDescriptionAdditional information, such as source elements.addObjects(List<?> objects) Additional information, such as source elements.Clear existing value of this property.from(CodegenEvent prototype) Update this builder from an existing prototype instance.from(CodegenEvent.BuilderBase<?> builder) Update this builder from an existing prototype builder instance.level()Level can be used directly (command line tools), mapped to Maven level (maven plugins), or mapped to diagnostics kind (annotation processing).level(System.Logger.Level level) Level can be used directly (command line tools), mapped to Maven level (maven plugins), or mapped to diagnostics kind (annotation processing).message()Message to be delivered to the user.Message to be delivered to the user.objects()Additional information, such as source elements.Additional information, such as source elements.protected voidHandles providers and decorators.Throwable if available.Throwable if available.toString()protected voidValidates required properties.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault CodegenEventget()default CodegenEvent.Builderidentity()Instance of this builder as the correct type.default CodegenEvent.Builderupdate(Consumer<CodegenEvent.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
-