Package org.jbehave.core.steps
Class NullStepMonitor
- java.lang.Object
-
- org.jbehave.core.steps.NullStepMonitor
-
- All Implemented Interfaces:
StepMonitor
public class NullStepMonitor extends Object implements StepMonitor
Null Object Pattern implementation ofStepMonitor. Can be extended to override only the methods of interest.
-
-
Constructor Summary
Constructors Constructor Description NullStepMonitor()
-
Method Summary
Modifier and Type Method Description voidafterPerforming(String step, boolean dryRun, Method method)voidbeforePerforming(String step, boolean dryRun, Method method)voidconvertedValueOfType(String value, Type type, Object converted, Queue<Class<?>> converterClasses)voidfoundParameter(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)
-
-
-
Method Detail
-
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
public void beforePerforming(String step, boolean dryRun, Method method)
- Specified by:
beforePerformingin interfaceStepMonitor
-
afterPerforming
public void afterPerforming(String step, boolean dryRun, Method method)
- Specified by:
afterPerformingin interfaceStepMonitor
-
usingAnnotatedNameForParameter
public void usingAnnotatedNameForParameter(String name, int position)
- Specified by:
usingAnnotatedNameForParameterin interfaceStepMonitor
-
usingParameterNameForParameter
public void usingParameterNameForParameter(String name, int position)
- Specified by:
usingParameterNameForParameterin interfaceStepMonitor
-
usingTableAnnotatedNameForParameter
public void usingTableAnnotatedNameForParameter(String name, int position)
- Specified by:
usingTableAnnotatedNameForParameterin interfaceStepMonitor
-
usingTableParameterNameForParameter
public void usingTableParameterNameForParameter(String name, int position)
- Specified by:
usingTableParameterNameForParameterin interfaceStepMonitor
-
usingNaturalOrderForParameter
public void usingNaturalOrderForParameter(int position)
- Specified by:
usingNaturalOrderForParameterin interfaceStepMonitor
-
foundParameter
public void foundParameter(String parameter, int position)
- Specified by:
foundParameterin interfaceStepMonitor
-
usingStepsContextParameter
public void usingStepsContextParameter(String parameter)
- Specified by:
usingStepsContextParameterin interfaceStepMonitor
-
-