public abstract class PrintingStepMonitor extends Object implements StepMonitor
StepMonitor that prints to output which should be defined in child implementations.| Constructor and Description |
|---|
PrintingStepMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPerforming(String step,
boolean dryRun,
Method method) |
void |
beforePerforming(String step,
boolean dryRun,
Method method) |
void |
convertedValueOfType(String value,
Type type,
Object converted,
Class<?> converterClass) |
void |
foundParameter(String parameter,
int position) |
void |
performing(String step,
boolean dryRun)
Deprecated.
|
protected abstract void |
print(String format,
Object... args) |
void |
stepMatchesPattern(String step,
boolean matches,
StepPattern stepPattern,
Method method,
Object stepsInstance) |
void |
stepMatchesType(String step,
String previous,
boolean matches,
StepType stepType,
Method method,
Object stepsInstance) |
void |
usingAnnotatedNameForParameter(String name,
int position) |
void |
usingNaturalOrderForParameter(int position) |
void |
usingParameterNameForParameter(String name,
int position) |
void |
usingStepsContextParameter(String parameter) |
void |
usingTableAnnotatedNameForParameter(String name,
int position) |
void |
usingTableParameterNameForParameter(String name,
int position) |
public void stepMatchesType(String step, String previous, boolean matches, StepType stepType, Method method, Object stepsInstance)
stepMatchesType in interface StepMonitorpublic void stepMatchesPattern(String step, boolean matches, StepPattern stepPattern, Method method, Object stepsInstance)
stepMatchesPattern in interface StepMonitorpublic void convertedValueOfType(String value, Type type, Object converted, Class<?> converterClass)
convertedValueOfType in interface StepMonitor@Deprecated public void performing(String step, boolean dryRun)
beforePerforming(String, boolean, Method) and
afterPerforming(String, boolean, Method)performing in interface StepMonitorpublic void beforePerforming(String step, boolean dryRun, Method method)
beforePerforming in interface StepMonitorpublic void afterPerforming(String step, boolean dryRun, Method method)
afterPerforming in interface StepMonitorpublic void usingAnnotatedNameForParameter(String name, int position)
usingAnnotatedNameForParameter in interface StepMonitorpublic void usingParameterNameForParameter(String name, int position)
usingParameterNameForParameter in interface StepMonitorpublic void usingTableAnnotatedNameForParameter(String name, int position)
usingTableAnnotatedNameForParameter in interface StepMonitorpublic void usingTableParameterNameForParameter(String name, int position)
usingTableParameterNameForParameter in interface StepMonitorpublic void usingNaturalOrderForParameter(int position)
usingNaturalOrderForParameter in interface StepMonitorpublic void foundParameter(String parameter, int position)
foundParameter in interface StepMonitorpublic void usingStepsContextParameter(String parameter)
usingStepsContextParameter in interface StepMonitorCopyright © 2003–2019. All rights reserved.