Package io.molr.mole.core.runnable.lang
Class ForeachBranchRoot<T>
- java.lang.Object
-
- io.molr.mole.core.runnable.lang.OngoingNode<B>
-
- io.molr.mole.core.runnable.lang.GenericOngoingBranch<ForeachBranchRoot<T>>
-
- io.molr.mole.core.runnable.lang.ForeachBranchRoot<T>
-
public class ForeachBranchRoot<T> extends GenericOngoingBranch<ForeachBranchRoot<T>>
-
-
Constructor Summary
Constructors Constructor Description ForeachBranchRoot(BlockNameConfiguration name, RunnableLeafsMission.Builder builder, io.molr.commons.domain.Block parent, BranchMode mode, io.molr.commons.domain.Placeholder<? extends io.molr.commons.domain.MolrCollection<T>> itemsPlaceholder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OngoingForeachBranch<T>
branch(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
OngoingForeachLeaf<T>
leaf(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
<C> ForeachBranchRootMapped<T,C>
map(java.util.function.BiFunction<T,io.molr.commons.domain.In,C> contextFactory)
<C,P1>
ForeachBranchRootMapped<T,C>map(java.util.function.BiFunction<T,P1,C> contextFactory, io.molr.commons.domain.Placeholder<P1> p1)
<C> ForeachBranchRootMapped<T,C>
map(java.util.function.Function<T,C> contextFactory)
-
Methods inherited from class io.molr.mole.core.runnable.lang.GenericOngoingBranch
block, mode, parallel, parallel, sequential
-
Methods inherited from class io.molr.mole.core.runnable.lang.OngoingNode
blockAttributes, builder, name, parent, perDefault, perDefaultDont
-
-
-
-
Constructor Detail
-
ForeachBranchRoot
public ForeachBranchRoot(BlockNameConfiguration name, RunnableLeafsMission.Builder builder, io.molr.commons.domain.Block parent, BranchMode mode, io.molr.commons.domain.Placeholder<? extends io.molr.commons.domain.MolrCollection<T>> itemsPlaceholder)
-
-
Method Detail
-
branch
public OngoingForeachBranch<T> branch(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
-
leaf
public OngoingForeachLeaf<T> leaf(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
-
map
public <C> ForeachBranchRootMapped<T,C> map(java.util.function.Function<T,C> contextFactory)
-
map
public <C> ForeachBranchRootMapped<T,C> map(java.util.function.BiFunction<T,io.molr.commons.domain.In,C> contextFactory)
-
map
public <C,P1> ForeachBranchRootMapped<T,C> map(java.util.function.BiFunction<T,P1,C> contextFactory, io.molr.commons.domain.Placeholder<P1> p1)
-
-