Package org.jbehave.core.steps
Class NullStepMonitor
java.lang.Object
org.jbehave.core.steps.NullStepMonitor
- All Implemented Interfaces:
StepMonitor
Null Object Pattern implementation of
StepMonitor
.
Can be extended to override only the methods of interest.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterPerforming
(String step, boolean dryRun, Method method) void
beforePerforming
(String step, boolean dryRun, Method method) void
void
foundParameter
(String parameter, int position) void
stepMatchesPattern
(String step, boolean matches, StepPattern pattern, 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)
-
Constructor Details
-
NullStepMonitor
public NullStepMonitor()
-
-
Method Details
-
stepMatchesType
public void stepMatchesType(String stepAsString, String previousAsString, boolean matchesType, StepType stepType, Method method, Object stepsInstance) - Specified by:
stepMatchesType
in interfaceStepMonitor
-
stepMatchesPattern
public void stepMatchesPattern(String step, boolean matches, StepPattern pattern, Method method, Object stepsInstance) - Specified by:
stepMatchesPattern
in interfaceStepMonitor
-
convertedValueOfType
public void convertedValueOfType(String value, Type type, Object converted, Queue<Class<?>> converterClasses) - Specified by:
convertedValueOfType
in interfaceStepMonitor
-
beforePerforming
- Specified by:
beforePerforming
in interfaceStepMonitor
-
afterPerforming
- Specified by:
afterPerforming
in interfaceStepMonitor
-
usingAnnotatedNameForParameter
- Specified by:
usingAnnotatedNameForParameter
in interfaceStepMonitor
-
usingParameterNameForParameter
- Specified by:
usingParameterNameForParameter
in interfaceStepMonitor
-
usingTableAnnotatedNameForParameter
- Specified by:
usingTableAnnotatedNameForParameter
in interfaceStepMonitor
-
usingTableParameterNameForParameter
- Specified by:
usingTableParameterNameForParameter
in interfaceStepMonitor
-
usingNaturalOrderForParameter
public void usingNaturalOrderForParameter(int position) - Specified by:
usingNaturalOrderForParameter
in interfaceStepMonitor
-
foundParameter
- Specified by:
foundParameter
in interfaceStepMonitor
-
usingStepsContextParameter
- Specified by:
usingStepsContextParameter
in interfaceStepMonitor
-