Class DeActivationRequest.BuilderBase<BUILDER extends DeActivationRequest.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends DeActivationRequest>

java.lang.Object
io.helidon.inject.api.DeActivationRequest.BuilderBase<BUILDER,PROTOTYPE>
Type Parameters:
BUILDER - type of the builder extending this abstract builder
PROTOTYPE - type of the prototype interface that would be built by Prototype.Builder.buildPrototype()
All Implemented Interfaces:
Prototype.Builder<BUILDER,PROTOTYPE>
Direct Known Subclasses:
DeActivationRequest.Builder
Enclosing interface:
DeActivationRequest

public abstract static class DeActivationRequest.BuilderBase<BUILDER extends DeActivationRequest.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends DeActivationRequest> extends Object implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for DeActivationRequest.
  • Constructor Details

    • BuilderBase

      protected BuilderBase()
      Protected to support extensibility.
  • Method Details

    • from

      public BUILDER from(DeActivationRequest prototype)
      Update this builder from an existing prototype instance.
      Parameters:
      prototype - existing prototype to update this builder from
      Returns:
      updated builder instance
    • from

      public BUILDER from(DeActivationRequest.BuilderBase<?,?> builder)
      Update this builder from an existing prototype builder instance.
      Parameters:
      builder - existing builder prototype to update this builder from
      Returns:
      updated builder instance
    • throwIfError

      public BUILDER throwIfError(boolean throwIfError)
      Whether to throw an exception on failure, or return it as part of the result.
      Parameters:
      throwIfError - throw on failure
      Returns:
      updated builder instance
      See Also:
    • throwIfError

      public boolean throwIfError()
      Whether to throw an exception on failure, or return it as part of the result.
      Returns:
      the throw if error
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • preBuildPrototype

      protected void preBuildPrototype()
      Handles providers and decorators.
    • validatePrototype

      protected void validatePrototype()
      Validates required properties.