Class 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.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RunnableLeafsMissionSupport

        public RunnableLeafsMissionSupport()
    • 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)