Package io.molr.mole.core.runnable.lang
Class GenericOngoingBranch<B extends GenericOngoingBranch<B>>
- java.lang.Object
-
- io.molr.mole.core.runnable.lang.OngoingNode<B>
-
- io.molr.mole.core.runnable.lang.GenericOngoingBranch<B>
-
- Direct Known Subclasses:
ForeachBranchRoot
,ForeachBranchRootMapped
,OngoingContextualBranchWithNewContext
,OngoingContextualOptionProvidingBranch
public abstract class GenericOngoingBranch<B extends GenericOngoingBranch<B>> extends OngoingNode<B>
-
-
Constructor Summary
Constructors Constructor Description GenericOngoingBranch(BlockNameConfiguration name, RunnableLeafsMission.Builder builder, Block parent, BranchMode mode, Map<Placeholder<?>,Function<In,?>> mappings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Block
block()
protected BranchMode
mode()
B
parallel()
B
parallel(int maxConcurrency)
B
sequential()
-
Methods inherited from class io.molr.mole.core.runnable.lang.OngoingNode
blockAttributes, builder, getMappings, let, name, parent, perDefault, perDefaultDont
-
-
-
-
Constructor Detail
-
GenericOngoingBranch
public GenericOngoingBranch(BlockNameConfiguration name, RunnableLeafsMission.Builder builder, Block parent, BranchMode mode, Map<Placeholder<?>,Function<In,?>> mappings)
-
-
Method Detail
-
parallel
public B parallel()
-
parallel
public B parallel(int maxConcurrency)
-
sequential
public B sequential()
-
block
protected Block block()
-
mode
protected BranchMode mode()
-
-