Module io.helidon.pico.api
Package io.helidon.pico.api
Class AbstractDeActivationRequest.Builder<B extends AbstractDeActivationRequest.Builder<B,T>,T extends DeActivationRequest>
java.lang.Object
io.helidon.pico.api.DeActivationRequest
io.helidon.pico.api.AbstractDeActivationRequest.Builder<B,T>
- Type Parameters:
B- the type of the builderT- the type of the built instance
- Direct Known Subclasses:
DefaultDeActivationRequest.Builder
- Enclosing class:
AbstractDeActivationRequest
public abstract static class AbstractDeActivationRequest.Builder<B extends AbstractDeActivationRequest.Builder<B,T>,T extends DeActivationRequest>
extends DeActivationRequest
implements Builder<B,T>
Fluent API builder for
T.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAccept and update from the provided value object.booleanWhether to throw an exception on failure, or return it as part of the result.throwIfError(boolean val) Setter for 'throwIfError'.<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.DeActivationRequest, calling theAttributeVisitorfor each.Methods inherited from class io.helidon.pico.api.DeActivationRequest
defaultDeactivationRequest
-
Constructor Details
-
Builder
protected Builder()Fluent API builder constructor.
-
-
Method Details
-
throwIfError
public boolean throwIfError()Description copied from class:DeActivationRequestWhether to throw an exception on failure, or return it as part of the result.- Specified by:
throwIfErrorin classDeActivationRequest- Returns:
- throw on failure
-
throwIfError
Setter for 'throwIfError'.- Parameters:
val- the new value- Returns:
- this fluent builder
-
accept
Accept and update from the provided value object.- Parameters:
val- the value object to copy from- Returns:
- this instance typed to correct type
-
visitAttributes
Visits all attributes of io.helidon.pico.api.DeActivationRequest, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-