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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterPerforming(String step, boolean dryRun, Method method) voidbeforePerforming(String step, boolean dryRun, Method method) voidvoidfoundParameter(String parameter, int position) voidstepMatchesPattern(String step, boolean matches, StepPattern pattern, Method method, Object stepsInstance) voidstepMatchesType(String stepAsString, String previousAsString, boolean matchesType, StepType stepType, Method method, Object stepsInstance) voidusingAnnotatedNameForParameter(String name, int position) voidusingNaturalOrderForParameter(int position) voidusingParameterNameForParameter(String name, int position) voidusingStepsContextParameter(String parameter) voidusingTableAnnotatedNameForParameter(String name, int position) voidusingTableParameterNameForParameter(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:
stepMatchesTypein interfaceStepMonitor
-
stepMatchesPattern
public void stepMatchesPattern(String step, boolean matches, StepPattern pattern, Method method, Object stepsInstance) - Specified by:
stepMatchesPatternin interfaceStepMonitor
-
convertedValueOfType
public void convertedValueOfType(String value, Type type, Object converted, Queue<Class<?>> converterClasses) - Specified by:
convertedValueOfTypein interfaceStepMonitor
-
beforePerforming
- Specified by:
beforePerformingin interfaceStepMonitor
-
afterPerforming
- Specified by:
afterPerformingin interfaceStepMonitor
-
usingAnnotatedNameForParameter
- Specified by:
usingAnnotatedNameForParameterin interfaceStepMonitor
-
usingParameterNameForParameter
- Specified by:
usingParameterNameForParameterin interfaceStepMonitor
-
usingTableAnnotatedNameForParameter
- Specified by:
usingTableAnnotatedNameForParameterin interfaceStepMonitor
-
usingTableParameterNameForParameter
- Specified by:
usingTableParameterNameForParameterin interfaceStepMonitor
-
usingNaturalOrderForParameter
public void usingNaturalOrderForParameter(int position) - Specified by:
usingNaturalOrderForParameterin interfaceStepMonitor
-
foundParameter
- Specified by:
foundParameterin interfaceStepMonitor
-
usingStepsContextParameter
- Specified by:
usingStepsContextParameterin interfaceStepMonitor
-