public class DelegatingStepMonitor extends Object implements StepMonitor
StepMonitors 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) |
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 in interface StepMonitorpublic void stepMatchesType(String stepAsString, String previousAsString, boolean matchesType, 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 foundParameter(String parameter, int position)
foundParameter in interface StepMonitor@Deprecated public void performing(String step, boolean dryRun)
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 usingNaturalOrderForParameter(int position)
usingNaturalOrderForParameter 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 usingStepsContextParameter(String parameter)
usingStepsContextParameter in interface StepMonitorCopyright © 2003–2019. All rights reserved.