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)
Deprecated.
|
void |
convertedValueOfType(String value,
Type type,
Object converted,
Queue<Class<?>> converterClasses) |
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 StepMonitor
public void stepMatchesPattern(String step, boolean matches, StepPattern stepPattern, Method method, Object stepsInstance)
stepMatchesPattern
in interface StepMonitor
public void convertedValueOfType(String value, Type type, Object converted, Class<?> converterClass)
convertedValueOfType(String, Type, Object, Queue)
convertedValueOfType
in interface StepMonitor
public void convertedValueOfType(String value, Type type, Object converted, Queue<Class<?>> converterClasses)
convertedValueOfType
in interface StepMonitor
@Deprecated public void performing(String step, boolean dryRun)
beforePerforming(String, boolean, Method)
and
afterPerforming(String, boolean, Method)
performing
in interface StepMonitor
public void beforePerforming(String step, boolean dryRun, Method method)
beforePerforming
in interface StepMonitor
public void afterPerforming(String step, boolean dryRun, Method method)
afterPerforming
in interface StepMonitor
public void usingAnnotatedNameForParameter(String name, int position)
usingAnnotatedNameForParameter
in interface StepMonitor
public void usingParameterNameForParameter(String name, int position)
usingParameterNameForParameter
in interface StepMonitor
public void usingTableAnnotatedNameForParameter(String name, int position)
usingTableAnnotatedNameForParameter
in interface StepMonitor
public void usingTableParameterNameForParameter(String name, int position)
usingTableParameterNameForParameter
in interface StepMonitor
public void usingNaturalOrderForParameter(int position)
usingNaturalOrderForParameter
in interface StepMonitor
public void foundParameter(String parameter, int position)
foundParameter
in interface StepMonitor
public void usingStepsContextParameter(String parameter)
usingStepsContextParameter
in interface StepMonitor
Copyright © 2003–2021. All rights reserved.