Class TreeMissionExecutor

  • All Implemented Interfaces:
    MissionExecutor

    public class TreeMissionExecutor
    extends java.lang.Object
    implements MissionExecutor
    Keeps track of the state of the execution of one mission instance. It assumes a tree of execution blocks, can execute them and keeps track of cursor positions within strands.
    • Method Detail

      • getRootStrand

        @Deprecated
        public io.molr.commons.domain.Strand getRootStrand()
        Deprecated.
      • getStrandFactory

        @Deprecated
        public StrandFactoryImpl getStrandFactory()
        Deprecated.
      • states

        public reactor.core.publisher.Flux<io.molr.commons.domain.MissionState> states()
        Specified by:
        states in interface MissionExecutor
      • outputs

        public reactor.core.publisher.Flux<io.molr.commons.domain.MissionOutput> outputs()
        Specified by:
        outputs in interface MissionExecutor
      • representations

        public reactor.core.publisher.Flux<io.molr.commons.domain.MissionRepresentation> representations()
        Specified by:
        representations in interface MissionExecutor
      • instruct

        public void instruct​(io.molr.commons.domain.Strand strand,
                             io.molr.commons.domain.StrandCommand command)
        Specified by:
        instruct in interface MissionExecutor
      • instructRoot

        public void instructRoot​(io.molr.commons.domain.StrandCommand command)
        Specified by:
        instructRoot in interface MissionExecutor
      • instructBlock

        public void instructBlock​(java.lang.String blockId,
                                  io.molr.commons.domain.BlockCommand command)
        Specified by:
        instructBlock in interface MissionExecutor