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