Interface IBooleanValueBuilder
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<Boolean>, ISubTypeValueBuilder<Boolean, IBooleanValueBuilder>, IValueBuilder<Boolean>, IValueConfigurator
A
IValueBuilder for creating a boolean value.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault IBooleanValueBuilderasThis()value(boolean value) Applies the given value to this builder.Methods inherited from interface org.apache.commons.lang3.builder.Builder
buildMethods inherited from interface ISubTypeValueBuilder
whenBoolean, whenConst, whenFloat, whenInteger, whenList, whenMap, whenNull, whenRecord, whenString, whenTuple, whenUnion, whenVoid
-
Method Details
-
asThis
- Specified by:
asThisin interfaceISubTypeValueBuilder<Boolean, IBooleanValueBuilder>- Returns:
- This instance.
-
value
Description copied from interface:IValueConfiguratorApplies the given value to this builder. Implementations are allowed to perform validity checks on the passed value and reject the given value or parts of it (in case of lists etc.) when they do not conform to the restrictions imposed by this builder.- Specified by:
valuein interfaceISubTypeValueBuilder<Boolean, IBooleanValueBuilder>- Specified by:
valuein interfaceIValueBuilder<Boolean>- Specified by:
valuein interfaceIValueConfigurator- Parameters:
value- Sets the value created by this builder.- Returns:
- getThis() builder instance for chaining method calls.
-
value
- Parameters:
value- Boolean value to use.- Returns:
- This builder instance for chaining method calls.
-