| 1 | |
package org.jbehave.core.embedder; |
| 2 | |
|
| 3 | |
import java.io.File; |
| 4 | |
import java.util.List; |
| 5 | |
import java.util.Properties; |
| 6 | |
|
| 7 | |
import org.jbehave.core.failures.BatchFailures; |
| 8 | |
import org.jbehave.core.model.Meta; |
| 9 | |
import org.jbehave.core.model.Story; |
| 10 | |
import org.jbehave.core.model.StoryMaps; |
| 11 | |
import org.jbehave.core.reporters.ReportsCount; |
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
public class EmbedderMonitorDecorator implements EmbedderMonitor { |
| 18 | |
|
| 19 | |
private final EmbedderMonitor delegate; |
| 20 | |
|
| 21 | 0 | public EmbedderMonitorDecorator(EmbedderMonitor delegate) { |
| 22 | 0 | this.delegate = delegate; |
| 23 | 0 | } |
| 24 | |
|
| 25 | |
public void runningEmbeddable(String name) { |
| 26 | 0 | delegate.runningEmbeddable(name); |
| 27 | 0 | } |
| 28 | |
|
| 29 | |
public void embeddableFailed(String name, Throwable cause) { |
| 30 | 0 | delegate.embeddableFailed(name, cause); |
| 31 | 0 | } |
| 32 | |
|
| 33 | |
public void embeddableNotConfigurable(String name) { |
| 34 | 0 | delegate.embeddableNotConfigurable(name); |
| 35 | 0 | } |
| 36 | |
|
| 37 | |
public void embeddablesSkipped(List<String> classNames) { |
| 38 | 0 | delegate.embeddablesSkipped(classNames); |
| 39 | 0 | } |
| 40 | |
|
| 41 | |
public void metaNotAllowed(Meta meta, MetaFilter filter) { |
| 42 | 0 | delegate.metaNotAllowed(meta, filter); |
| 43 | 0 | } |
| 44 | |
|
| 45 | |
public void runningStory(String path) { |
| 46 | 0 | delegate.runningStory(path); |
| 47 | 0 | } |
| 48 | |
|
| 49 | |
public void storyFailed(String path, Throwable cause) { |
| 50 | 0 | delegate.storyFailed(path, cause); |
| 51 | 0 | } |
| 52 | |
|
| 53 | |
public void storiesSkipped(List<String> storyPaths) { |
| 54 | 0 | delegate.storiesSkipped(storyPaths); |
| 55 | 0 | } |
| 56 | |
|
| 57 | |
public void batchFailed(BatchFailures failures) { |
| 58 | 0 | delegate.batchFailed(failures); |
| 59 | 0 | } |
| 60 | |
|
| 61 | |
public void generatingReportsView(File outputDirectory, List<String> formats, Properties viewProperties) { |
| 62 | 0 | delegate.generatingReportsView(outputDirectory, formats, viewProperties); |
| 63 | 0 | } |
| 64 | |
|
| 65 | |
public void reportsViewGenerationFailed(File outputDirectory, List<String> formats, Properties viewProperties, |
| 66 | |
Throwable cause) { |
| 67 | 0 | delegate.reportsViewGenerationFailed(outputDirectory, formats, viewProperties, cause); |
| 68 | 0 | } |
| 69 | |
|
| 70 | |
public void reportsViewGenerated(ReportsCount count) { |
| 71 | 0 | delegate.reportsViewGenerated(count); |
| 72 | 0 | } |
| 73 | |
|
| 74 | |
public void reportsViewNotGenerated() { |
| 75 | 0 | delegate.reportsViewNotGenerated(); |
| 76 | 0 | } |
| 77 | |
|
| 78 | |
public void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type) { |
| 79 | 0 | delegate.annotatedInstanceNotOfType(annotatedInstance, type); |
| 80 | 0 | } |
| 81 | |
|
| 82 | |
public void mappingStory(String storyPath, List<String> metaFilters) { |
| 83 | 0 | delegate.mappingStory(storyPath, metaFilters); |
| 84 | 0 | } |
| 85 | |
|
| 86 | |
public void generatingMapsView(File outputDirectory, StoryMaps storyMaps, Properties viewProperties) { |
| 87 | 0 | delegate.generatingMapsView(outputDirectory, storyMaps, viewProperties); |
| 88 | 0 | } |
| 89 | |
|
| 90 | |
public void mapsViewGenerationFailed(File outputDirectory, StoryMaps storyMaps, Properties viewProperties, |
| 91 | |
Throwable cause) { |
| 92 | 0 | delegate.mapsViewGenerationFailed(outputDirectory, storyMaps, viewProperties, cause); |
| 93 | 0 | } |
| 94 | |
|
| 95 | |
public void generatingNavigatorView(File outputDirectory, Properties viewResources) { |
| 96 | 0 | delegate.generatingNavigatorView(outputDirectory, viewResources); |
| 97 | 0 | } |
| 98 | |
|
| 99 | |
public void navigatorViewGenerationFailed(File outputDirectory, Properties viewResources, Throwable cause) { |
| 100 | 0 | delegate.navigatorViewGenerationFailed(outputDirectory, viewResources, cause); |
| 101 | 0 | } |
| 102 | |
|
| 103 | |
public void navigatorViewNotGenerated() { |
| 104 | 0 | delegate.navigatorViewNotGenerated(); |
| 105 | 0 | } |
| 106 | |
|
| 107 | |
public void processingSystemProperties(Properties properties) { |
| 108 | 0 | delegate.processingSystemProperties(properties); |
| 109 | 0 | } |
| 110 | |
|
| 111 | |
public void systemPropertySet(String name, String value) { |
| 112 | 0 | delegate.systemPropertySet(name, value); |
| 113 | 0 | } |
| 114 | |
|
| 115 | |
public void storyTimeout(long durationInSecs, Story story) { |
| 116 | 0 | delegate.storyTimeout(durationInSecs, story); |
| 117 | 0 | } |
| 118 | |
|
| 119 | |
public void usingThreads(int threads) { |
| 120 | 0 | delegate.usingThreads(threads); |
| 121 | 0 | } |
| 122 | |
|
| 123 | |
} |