Package io.molr.mole.core.runnable
Class RunnableLeafsMission.Builder
- java.lang.Object
-
- io.molr.mole.core.runnable.RunnableLeafsMission.Builder
-
- Enclosing class:
- RunnableLeafsMission
public static class RunnableLeafsMission.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RunnableLeafsMission
build(io.molr.commons.domain.MissionParameterDescription parameterDescription)
io.molr.commons.domain.Block
childBranchNode(io.molr.commons.domain.Block parent, java.lang.String name, BranchMode mode, java.util.Set<BlockAttribute> blockAttributes)
void
contextFactory(java.util.function.Function<io.molr.commons.domain.In,?> contextFactory)
io.molr.commons.domain.Block
latest()
Retrieves the latest created block.io.molr.commons.domain.Block
leafChild(io.molr.commons.domain.Block parent, java.lang.String childName, java.util.function.BiConsumer<io.molr.commons.domain.In,io.molr.commons.domain.Out> runnable, java.util.Set<BlockAttribute> blockAttributes)
io.molr.commons.domain.Block
root()
io.molr.commons.domain.Block
rootBranchNode(java.lang.String rootName, BranchMode branchMode, java.util.Set<BlockAttribute> blockAttributes)
-
-
-
Method Detail
-
rootBranchNode
public io.molr.commons.domain.Block rootBranchNode(java.lang.String rootName, BranchMode branchMode, java.util.Set<BlockAttribute> blockAttributes)
-
childBranchNode
public io.molr.commons.domain.Block childBranchNode(io.molr.commons.domain.Block parent, java.lang.String name, BranchMode mode, java.util.Set<BlockAttribute> blockAttributes)
-
leafChild
public io.molr.commons.domain.Block leafChild(io.molr.commons.domain.Block parent, java.lang.String childName, java.util.function.BiConsumer<io.molr.commons.domain.In,io.molr.commons.domain.Out> runnable, java.util.Set<BlockAttribute> blockAttributes)
-
root
public io.molr.commons.domain.Block root()
-
build
public RunnableLeafsMission build(io.molr.commons.domain.MissionParameterDescription parameterDescription)
-
contextFactory
public void contextFactory(java.util.function.Function<io.molr.commons.domain.In,?> contextFactory)
-
latest
public io.molr.commons.domain.Block latest()
Retrieves the latest created block. This is intended mainly for testing.- Returns:
- the most recently created (added) block.
-
-