Interface IListValueBuilder<V>
-
- Type Parameters:
V
- Type of the list elements.
- All Superinterfaces:
org.apache.commons.lang3.builder.Builder<List<V>>
,ISubTypeValueBuilder<List<V>,IListValueBuilder<V>>
,IValueBuilder<List<V>>
,IValueConfigurator
public interface IListValueBuilder<V> extends ISubTypeValueBuilder<List<V>,IListValueBuilder<V>>
AIValueBuilder
for creating a list 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 IListValueBuilder<V>
asThis()
IListValueBuilder<V>
set(int index, IValueCreator creator)
Sets the value at the given index to the given value.default IListValueBuilder<V>
set(int index, Object value)
Sets the value at the given index to the given value.-
Methods inherited from interface de.xima.fc.interfaces.workflow.value.ISubTypeValueBuilder
value, whenBoolean, whenConst, whenFloat, whenInteger, whenList, whenMap, whenNull, whenRecord, whenString, whenTuple, whenUnion, whenVoid
-
-
-
-
Method Detail
-
asThis
default IListValueBuilder<V> asThis()
- Specified by:
asThis
in interfaceISubTypeValueBuilder<List<V>,IListValueBuilder<V>>
- Returns:
- This instance.
-
set
IListValueBuilder<V> set(int index, IValueCreator creator)
Sets the value at the given index to the given value.- Parameters:
index
- Index in the list, starting at0
.creator
- Value creator for the value at the given index.- Returns:
- This value builder for chaining method calls.
-
set
default IListValueBuilder<V> set(int index, Object value)
Sets the value at the given index to the given value.- Parameters:
index
- Index in the list, starting at0
.value
- Value to set at the given index.- Returns:
- This value builder for chaining method calls.
-
-