Class FcForEachLoopItemListFieldValues
java.lang.Object
de.xima.fc.workflow.itemlist.FcForEachLoopItemListFieldValues
public final class FcForEachLoopItemListFieldValues
extends Object
implements ItemList<List<String>>
Utility class for resolving an item list for the for-each loop of type
FIELD_VALUES.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(INodeExecutionParams<FcForEachLoopProps> params, ListItemSourcePropsFieldValues sourceProps) Resolves an item list for the for-each loop of typeFIELD_VALUES.extractData(List<String> item, int index) Lazily extracts the additional required data for an item in this list.iterator()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
extractData
Description copied from interface:ItemListLazily extracts the additional required data for an item in this list.- Specified by:
extractDatain interfaceItemList<List<String>>- Parameters:
item- An item as returned byIterable.iterator().index- 0-based index of the item returned byIterable.iterator().- Returns:
- The extracted item data for the given item of this list.
-
iterator
-
evaluate
public static ItemList<List<String>> evaluate(INodeExecutionParams<FcForEachLoopProps> params, ListItemSourcePropsFieldValues sourceProps) Resolves an item list for the for-each loop of typeFIELD_VALUES.- Parameters:
params- Parameters provided by the workflow engine.sourceProps- Configured properties.- Returns:
- An item list with all resolved form field repetition items.
-