| 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.StoryMaps; |
| 10 | |
import org.jbehave.core.reporters.ReportsCount; |
| 11 | |
|
| 12 | |
public interface EmbedderMonitor { |
| 13 | |
|
| 14 | |
void runningEmbeddable(String name); |
| 15 | |
|
| 16 | |
void embeddableFailed(String name, Throwable cause); |
| 17 | |
|
| 18 | |
void embeddablesSkipped(List<String> classNames); |
| 19 | |
|
| 20 | |
void metaNotAllowed(Meta meta, MetaFilter filter); |
| 21 | |
|
| 22 | |
void runningStory(String path); |
| 23 | |
|
| 24 | |
void storyFailed(String path, Throwable cause); |
| 25 | |
|
| 26 | |
void storiesSkipped(List<String> storyPaths); |
| 27 | |
|
| 28 | |
void batchFailed(BatchFailures failures); |
| 29 | |
|
| 30 | |
void generatingReportsView(File outputDirectory, List<String> formats, Properties viewProperties); |
| 31 | |
|
| 32 | |
void reportsViewGenerationFailed(File outputDirectory, List<String> formats, Properties viewProperties, |
| 33 | |
Throwable cause); |
| 34 | |
|
| 35 | |
void reportsViewGenerated(ReportsCount count); |
| 36 | |
|
| 37 | |
void reportsViewNotGenerated(); |
| 38 | |
|
| 39 | |
void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type); |
| 40 | |
|
| 41 | |
void mappingStory(String storyPath, List<String> metaFilters); |
| 42 | |
|
| 43 | |
void generatingMapsView(File outputDirectory, StoryMaps storyMaps, Properties viewProperties); |
| 44 | |
|
| 45 | |
void mapsViewGenerationFailed(File outputDirectory, StoryMaps storyMaps, Properties viewProperties, Throwable cause); |
| 46 | |
|
| 47 | |
void processingSystemProperties(Properties properties); |
| 48 | |
|
| 49 | |
void systemPropertySet(String name, String value); |
| 50 | |
|
| 51 | |
} |