Interface IIntegerValueBuilder
-
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<Number>
,ISubTypeValueBuilder<Number,IIntegerValueBuilder>
,IValueBuilder<Number>
,IValueConfigurator
public interface IIntegerValueBuilder extends ISubTypeValueBuilder<Number,IIntegerValueBuilder>
AIValueBuilder
for creating an integer value.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IIntegerValueBuilder
asThis()
IIntegerValueBuilder
value(long value)
default IIntegerValueBuilder
value(Object value)
Applies the given value to this builder.-
Methods inherited from interface de.xima.fc.interfaces.workflow.value.ISubTypeValueBuilder
whenBoolean, whenConst, whenFloat, whenInteger, whenList, whenMap, whenNull, whenRecord, whenString, whenTuple, whenUnion, whenVoid
-
-
-
-
Method Detail
-
asThis
default IIntegerValueBuilder asThis()
- Specified by:
asThis
in interfaceISubTypeValueBuilder<Number,IIntegerValueBuilder>
- Returns:
- This instance.
-
value
IIntegerValueBuilder value(long value)
- Parameters:
value
- Integer value to use.- Returns:
- This builder instance for chaining method calls.
-
value
default IIntegerValueBuilder value(Object value)
Description copied from interface:IValueConfigurator
Applies 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:
value
in interfaceISubTypeValueBuilder<Number,IIntegerValueBuilder>
- Specified by:
value
in interfaceIValueBuilder<Number>
- Specified by:
value
in interfaceIValueConfigurator
- Parameters:
value
- Sets the value created by this builder.- Returns:
- getThis() builder instance for chaining method calls.
-
-