public class DelegatingStepMonitor extends Object implements StepMonitor
StepMonitor
s and delegates all invocations to the collected monitors.Constructor and Description |
---|
DelegatingStepMonitor(Collection<StepMonitor> delegates)
Creates DelegatingStepMonitor with a given collections of delegates
|
DelegatingStepMonitor(StepMonitor... delegates)
Creates DelegatingStepMonitor with a given varargs of delegates
|
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.
|
void |
stepMatchesPattern(String step,
boolean matches,
StepPattern stepPattern,
Method method,
Object stepsInstance) |
void |
stepMatchesType(String stepAsString,
String previousAsString,
boolean matchesType,
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 DelegatingStepMonitor(Collection<StepMonitor> delegates)
delegates
- the StepMonitor-s to delegate topublic DelegatingStepMonitor(StepMonitor... delegates)
delegates
- the StepMonitor-s to delegate topublic 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
public void stepMatchesType(String stepAsString, String previousAsString, boolean matchesType, 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 foundParameter(String parameter, int position)
foundParameter
in interface StepMonitor
@Deprecated public void performing(String step, boolean dryRun)
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 usingNaturalOrderForParameter(int position)
usingNaturalOrderForParameter
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 usingStepsContextParameter(String parameter)
usingStepsContextParameter
in interface StepMonitor
Copyright © 2003–2021. All rights reserved.