1 | |
package org.jbehave.core.steps; |
2 | |
|
3 | |
import java.lang.reflect.Method; |
4 | |
import java.lang.reflect.Type; |
5 | |
|
6 | |
import org.jbehave.core.model.StepPattern; |
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
public interface StepMonitor { |
12 | |
|
13 | |
void stepMatchesType(String stepAsString, String previousAsString, boolean matchesType, StepType stepType, |
14 | |
Method method, Object stepsInstance); |
15 | |
|
16 | |
void stepMatchesPattern(String step, boolean matches, StepPattern stepPattern, Method method, Object stepsInstance); |
17 | |
|
18 | |
void convertedValueOfType(String value, Type type, Object converted, Class<?> converterClass); |
19 | |
|
20 | |
void performing(String step, boolean dryRun); |
21 | |
|
22 | |
void usingAnnotatedNameForParameter(String name, int position); |
23 | |
|
24 | |
void usingParameterNameForParameter(String name, int position); |
25 | |
|
26 | |
void usingTableAnnotatedNameForParameter(String name, int position); |
27 | |
|
28 | |
void usingTableParameterNameForParameter(String name, int position); |
29 | |
|
30 | |
void usingNaturalOrderForParameter(int position); |
31 | |
|
32 | |
void foundParameter(String parameter, int position); |
33 | |
} |