Package org.jbehave.core.steps
Class PrintingStepMonitor
java.lang.Object
org.jbehave.core.steps.PrintingStepMonitor
- All Implemented Interfaces:
StepMonitor
- Direct Known Subclasses:
PrintStreamStepMonitor,SilentStepMonitor
Abstract
StepMonitor that prints to output which should be defined in child implementations.-
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) protected abstract voidvoidstepMatchesPattern(String step, boolean matches, StepPattern stepPattern, Method method, Object stepsInstance) voidstepMatchesType(String step, String previous, boolean matches, 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
-
PrintingStepMonitor
public PrintingStepMonitor()
-
-
Method Details
-
stepMatchesType
public void stepMatchesType(String step, String previous, boolean matches, StepType stepType, Method method, Object stepsInstance) - Specified by:
stepMatchesTypein interfaceStepMonitor
-
stepMatchesPattern
public void stepMatchesPattern(String step, boolean matches, StepPattern stepPattern, 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
-
print
-