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 | |
|
10 | |
|
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 generatingStoriesView(File outputDirectory, List<String> formats, |
31 | |
Properties viewProperties); |
32 | |
|
33 | |
void storiesViewGenerationFailed(File outputDirectory, List<String> formats, |
34 | |
Properties viewProperties, Throwable cause); |
35 | |
|
36 | |
void storiesViewGenerated(int stories, int scenarios, int failedScenarios); |
37 | |
|
38 | |
void storiesViewNotGenerated(); |
39 | |
|
40 | |
void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type); |
41 | |
|
42 | |
void mappingStory(String storyPath, List<String> metaFilters); |
43 | |
|
44 | |
|
45 | |
} |