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
-
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) protected abstract void
void
stepMatchesPattern
(String step, boolean matches, StepPattern stepPattern, Method method, Object stepsInstance) void
stepMatchesType
(String step, String previous, boolean matches, 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
-
PrintingStepMonitor
public PrintingStepMonitor()
-
-
Method Details
-
stepMatchesType
public void stepMatchesType(String step, String previous, boolean matches, StepType stepType, Method method, Object stepsInstance) - Specified by:
stepMatchesType
in interfaceStepMonitor
-
stepMatchesPattern
public void stepMatchesPattern(String step, boolean matches, StepPattern stepPattern, 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
-
print
-