Package io.molr.mole.core.runnable.lang
Class RunnableLeafsMissionSupport
- java.lang.Object
-
- io.molr.mole.core.runnable.lang.RunnableLeafsMissionSupport
-
public abstract class RunnableLeafsMissionSupport extends java.lang.Object
An abstract class which is intended to describe a tree of runnables, which can be used as simple test case for parallel tree execution.
-
-
Constructor Summary
Constructors Constructor Description RunnableLeafsMissionSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
breakOn(io.molr.commons.domain.Block block)
RunnableLeafsMission
build()
protected <T> io.molr.commons.domain.Placeholder<T>
mandatory(io.molr.commons.domain.Placeholder<T> placeholder)
protected <T> io.molr.commons.domain.Placeholder<T>
mandatory(io.molr.commons.domain.Placeholder<T> placeholder, T defaultValue)
protected <T> io.molr.commons.domain.Placeholder<T>
optional(io.molr.commons.domain.Placeholder<T> placeholder)
protected <T> io.molr.commons.domain.Placeholder<T>
optional(io.molr.commons.domain.Placeholder<T> placeholder, T defaultValue)
protected void
parallel(java.lang.String newName, java.util.function.Consumer<Branch> branchConsumer)
protected void
sequential(java.lang.String newName, java.util.function.Consumer<Branch> branchConsumer)
-
-
-
Method Detail
-
sequential
protected void sequential(java.lang.String newName, java.util.function.Consumer<Branch> branchConsumer)
-
parallel
protected void parallel(java.lang.String newName, java.util.function.Consumer<Branch> branchConsumer)
-
breakOn
protected void breakOn(io.molr.commons.domain.Block block)
-
mandatory
protected <T> io.molr.commons.domain.Placeholder<T> mandatory(io.molr.commons.domain.Placeholder<T> placeholder)
-
mandatory
protected <T> io.molr.commons.domain.Placeholder<T> mandatory(io.molr.commons.domain.Placeholder<T> placeholder, T defaultValue)
-
optional
protected <T> io.molr.commons.domain.Placeholder<T> optional(io.molr.commons.domain.Placeholder<T> placeholder)
-
optional
protected <T> io.molr.commons.domain.Placeholder<T> optional(io.molr.commons.domain.Placeholder<T> placeholder, T defaultValue)
-
build
public RunnableLeafsMission build()
-
-