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 | |
|
9 | |
|
10 | |
|
11 | |
public interface EmbedderMonitor { |
12 | |
|
13 | |
void runningEmbeddable(String name); |
14 | |
|
15 | |
void embeddableFailed(String name, Throwable cause); |
16 | |
|
17 | |
void embeddablesSkipped(List<String> classNames); |
18 | |
|
19 | |
void runningStory(String path); |
20 | |
|
21 | |
void storyFailed(String path, Throwable cause); |
22 | |
|
23 | |
void storiesSkipped(List<String> storyPaths); |
24 | |
|
25 | |
void batchFailed(BatchFailures failures); |
26 | |
|
27 | |
void generatingStoriesView(File outputDirectory, List<String> formats, |
28 | |
Properties viewProperties); |
29 | |
|
30 | |
void storiesViewGenerationFailed(File outputDirectory, List<String> formats, |
31 | |
Properties viewProperties, Throwable cause); |
32 | |
|
33 | |
void storiesViewGenerated(int stories, int scenarios, int failedScenarios); |
34 | |
|
35 | |
void storiesViewNotGenerated(); |
36 | |
|
37 | |
void annotatedInstanceNotOfType(Object annotatedInstance, Class<?> type); |
38 | |
|
39 | |
|
40 | |
} |