Package org.jbehave.core.embedder
Class NullEmbedderMonitor
- java.lang.Object
-
- org.jbehave.core.embedder.NullEmbedderMonitor
-
- All Implemented Interfaces:
EmbedderMonitor
- Direct Known Subclasses:
PrintingEmbedderMonitor
public class NullEmbedderMonitor extends Object implements EmbedderMonitor
Null Object Pattern implementation ofEmbedderMonitor
. Can be extended to override only the methods of interest.
-
-
Constructor Summary
Constructors Constructor Description NullEmbedderMonitor()
-
Method Summary
-
-
-
Method Detail
-
runningEmbeddable
public void runningEmbeddable(String name)
- Specified by:
runningEmbeddable
in interfaceEmbedderMonitor
-
embeddableFailed
public void embeddableFailed(String name, Throwable cause)
- Specified by:
embeddableFailed
in interfaceEmbedderMonitor
-
embeddableNotConfigurable
public void embeddableNotConfigurable(String name)
- Specified by:
embeddableNotConfigurable
in interfaceEmbedderMonitor
-
embeddablesSkipped
public void embeddablesSkipped(List<String> classNames)
- Specified by:
embeddablesSkipped
in interfaceEmbedderMonitor
-
metaExcluded
public void metaExcluded(Meta meta, MetaFilter filter)
- Specified by:
metaExcluded
in interfaceEmbedderMonitor
-
runningStory
public void runningStory(String path)
- Specified by:
runningStory
in interfaceEmbedderMonitor
-
storyFailed
public void storyFailed(String path, Throwable cause)
- Specified by:
storyFailed
in interfaceEmbedderMonitor
-
storiesSkipped
public void storiesSkipped(List<String> storyPaths)
- Specified by:
storiesSkipped
in interfaceEmbedderMonitor
-
storiesExcluded
public void storiesExcluded(List<Story> excluded, MetaFilter filter, boolean verbose)
- Specified by:
storiesExcluded
in interfaceEmbedderMonitor
-
scenarioExcluded
public void scenarioExcluded(Scenario scenario, MetaFilter filter)
- Specified by:
scenarioExcluded
in interfaceEmbedderMonitor
-
batchFailed
public void batchFailed(BatchFailures failures)
- Specified by:
batchFailed
in interfaceEmbedderMonitor
-
beforeOrAfterStoriesFailed
public void beforeOrAfterStoriesFailed()
- Specified by:
beforeOrAfterStoriesFailed
in interfaceEmbedderMonitor
-
generatingReportsView
public void generatingReportsView(File outputDirectory, List<String> formats, Properties viewProperties)
- Specified by:
generatingReportsView
in interfaceEmbedderMonitor
-
reportsViewGenerationFailed
public void reportsViewGenerationFailed(File outputDirectory, List<String> formats, Properties viewProperties, Throwable cause)
- Specified by:
reportsViewGenerationFailed
in interfaceEmbedderMonitor
-
reportsViewGenerated
public void reportsViewGenerated(ReportsCount count)
- Specified by:
reportsViewGenerated
in interfaceEmbedderMonitor
-
reportsViewFailures
public void reportsViewFailures(ReportsCount count)
- Specified by:
reportsViewFailures
in interfaceEmbedderMonitor
-
reportsViewNotGenerated
public void reportsViewNotGenerated()
- Specified by:
reportsViewNotGenerated
in interfaceEmbedderMonitor
-
runningWithAnnotatedEmbedderRunner
public void runningWithAnnotatedEmbedderRunner(String className)
- Specified by:
runningWithAnnotatedEmbedderRunner
in interfaceEmbedderMonitor
-
annotatedInstanceNotOfType
public void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type)
- Specified by:
annotatedInstanceNotOfType
in interfaceEmbedderMonitor
-
mappingStory
public void mappingStory(String storyPath, List<String> metaFilters)
- Specified by:
mappingStory
in interfaceEmbedderMonitor
-
generatingMapsView
public void generatingMapsView(File outputDirectory, StoryMaps storyMaps, Properties viewProperties)
- Specified by:
generatingMapsView
in interfaceEmbedderMonitor
-
mapsViewGenerationFailed
public void mapsViewGenerationFailed(File outputDirectory, StoryMaps storyMaps, Properties viewProperties, Throwable cause)
- Specified by:
mapsViewGenerationFailed
in interfaceEmbedderMonitor
-
processingSystemProperties
public void processingSystemProperties(Properties properties)
- Specified by:
processingSystemProperties
in interfaceEmbedderMonitor
-
systemPropertySet
public void systemPropertySet(String name, String value)
- Specified by:
systemPropertySet
in interfaceEmbedderMonitor
-
storyTimeout
public void storyTimeout(Story story, StoryDuration storyDuration)
- Specified by:
storyTimeout
in interfaceEmbedderMonitor
-
usingThreads
public void usingThreads(int threads)
- Specified by:
usingThreads
in interfaceEmbedderMonitor
-
usingExecutorService
public void usingExecutorService(ExecutorService executorService)
- Specified by:
usingExecutorService
in interfaceEmbedderMonitor
-
usingControls
public void usingControls(EmbedderControls embedderControls)
- Specified by:
usingControls
in interfaceEmbedderMonitor
-
getSearchDirectory
public String getSearchDirectory()
-
invalidTimeoutFormat
public void invalidTimeoutFormat(String path)
- Specified by:
invalidTimeoutFormat
in interfaceEmbedderMonitor
-
usingTimeout
public void usingTimeout(String path, long timeout)
- Specified by:
usingTimeout
in interfaceEmbedderMonitor
-
-