Class CurrentStoryEmbedderMonitor

  • All Implemented Interfaces:
    org.jbehave.core.embedder.EmbedderMonitor

    public class CurrentStoryEmbedderMonitor
    extends org.jbehave.core.embedder.PrintStreamEmbedderMonitor
    Gives access to the current story about the Spring Context
    Author:
    Daniel Keiss <daniel.keiss@telekom.de>, Marc Eckart - Initial implementation of embedder monitor

    Copyright (c) 2020 Daniel Keiss, Deutsche Telekom IT GmbH This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected @NonNull org.springframework.context.ApplicationContext applicationContext  
    • Constructor Summary

      Constructors 
      Constructor Description
      CurrentStoryEmbedderMonitor​(@NonNull org.springframework.context.ApplicationContext applicationContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void runningStory​(String path)  
      • Methods inherited from class org.jbehave.core.embedder.PrintStreamEmbedderMonitor

        print, printStackTrace
      • Methods inherited from class org.jbehave.core.embedder.PrintingEmbedderMonitor

        annotatedInstanceNotOfType, batchFailed, beforeOrAfterStoriesFailed, embeddableFailed, embeddableNotConfigurable, embeddablesSkipped, generatingMapsView, generatingNavigatorView, generatingReportsView, invalidTimeoutFormat, mappingStory, mapsViewGenerationFailed, metaNotAllowed, navigatorViewGenerationFailed, navigatorViewNotGenerated, processingSystemProperties, reportsViewFailures, reportsViewGenerated, reportsViewGenerationFailed, reportsViewNotGenerated, runningEmbeddable, runningWithAnnotatedEmbedderRunner, scenarioNotAllowed, storiesNotAllowed, storiesSkipped, storyFailed, storyTimeout, systemPropertySet, toString, usingControls, usingExecutorService, usingThreads, usingTimeout
      • Methods inherited from class org.jbehave.core.embedder.NullEmbedderMonitor

        getSearchDirectory, storiesNotAllowed
    • Field Detail

      • applicationContext

        @NonNull
        protected final @NonNull org.springframework.context.ApplicationContext applicationContext
    • Constructor Detail

      • CurrentStoryEmbedderMonitor

        public CurrentStoryEmbedderMonitor​(@NonNull
                                           @NonNull org.springframework.context.ApplicationContext applicationContext)
    • Method Detail

      • runningStory

        public void runningStory​(String path)
        Specified by:
        runningStory in interface org.jbehave.core.embedder.EmbedderMonitor
        Overrides:
        runningStory in class org.jbehave.core.embedder.PrintingEmbedderMonitor