Class ContextualForeachBranchRoot<C,T>
- java.lang.Object
-
- io.molr.mole.core.runnable.lang.OngoingNode<B>
-
- io.molr.mole.core.runnable.lang.GenericOngoingBranch<ContextualForeachBranchRoot<C,T>>
-
- io.molr.mole.core.runnable.lang.ctx.ContextualForeachBranchRoot<C,T>
-
public class ContextualForeachBranchRoot<C,T> extends GenericOngoingBranch<ContextualForeachBranchRoot<C,T>>
-
-
Constructor Summary
Constructors Constructor Description ContextualForeachBranchRoot(BlockNameConfiguration name, RunnableLeafsMission.Builder builder, io.molr.commons.domain.Block parent, BranchMode mode, io.molr.commons.domain.Placeholder<C> contextPlaceholder, io.molr.commons.domain.Placeholder<? extends java.util.Collection<T>> itemsPlaceholder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextualOngoingForeachBranchRoot<C,T>
branch(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
ContextualOngoingForeachLeaf<C,T>
leaf(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
<U,P1>
ContextualForeachBranchRootMapped<C,T,U>map(java.util.function.BiFunction<T,P1,U> contextFactory, io.molr.commons.domain.Placeholder<P1> p1)
<U> ContextualForeachBranchRootMapped<C,T,U>
map(java.util.function.Function<T,U> function)
-
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
-
ContextualForeachBranchRoot
public ContextualForeachBranchRoot(BlockNameConfiguration name, RunnableLeafsMission.Builder builder, io.molr.commons.domain.Block parent, BranchMode mode, io.molr.commons.domain.Placeholder<C> contextPlaceholder, io.molr.commons.domain.Placeholder<? extends java.util.Collection<T>> itemsPlaceholder)
-
-
Method Detail
-
branch
public ContextualOngoingForeachBranchRoot<C,T> branch(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
-
leaf
public ContextualOngoingForeachLeaf<C,T> leaf(java.lang.String name, io.molr.commons.domain.Placeholder<?>... placeholders)
-
map
public <U> ContextualForeachBranchRootMapped<C,T,U> map(java.util.function.Function<T,U> function)
-
map
public <U,P1> ContextualForeachBranchRootMapped<C,T,U> map(java.util.function.BiFunction<T,P1,U> contextFactory, io.molr.commons.domain.Placeholder<P1> p1)
-
-