org.jbehave.core.steps
Class PrintStreamStepMonitor
java.lang.Object
org.jbehave.core.steps.PrintStreamStepMonitor
- All Implemented Interfaces:
- StepMonitor
- Direct Known Subclasses:
- SilentStepMonitor
public class PrintStreamStepMonitor
- extends java.lang.Object
- implements StepMonitor
StepMonitor that prints to a PrintStream
, defaulting to
System.out
.
Method Summary |
void |
convertedValueOfType(java.lang.String value,
java.lang.reflect.Type type,
java.lang.Object converted,
java.lang.Class<?> converterClass)
|
void |
foundParameter(java.lang.String parameter,
int position)
|
void |
performing(java.lang.String step,
boolean dryRun)
|
protected void |
print(java.io.PrintStream output,
java.lang.String message)
|
void |
stepMatchesPattern(java.lang.String step,
boolean matches,
java.lang.String pattern,
java.lang.reflect.Method method,
java.lang.Object stepsInstance)
|
void |
stepMatchesType(java.lang.String step,
java.lang.String previous,
boolean matches,
StepType stepType,
java.lang.reflect.Method method,
java.lang.Object stepsInstance)
|
void |
usingAnnotatedNameForParameter(java.lang.String name,
int position)
|
void |
usingNaturalOrderForParameter(int position)
|
void |
usingParameterNameForParameter(java.lang.String name,
int position)
|
void |
usingTableAnnotatedNameForParameter(java.lang.String name,
int position)
|
void |
usingTableParameterNameForParameter(java.lang.String name,
int position)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintStreamStepMonitor
public PrintStreamStepMonitor()
PrintStreamStepMonitor
public PrintStreamStepMonitor(java.io.PrintStream output)
stepMatchesType
public void stepMatchesType(java.lang.String step,
java.lang.String previous,
boolean matches,
StepType stepType,
java.lang.reflect.Method method,
java.lang.Object stepsInstance)
- Specified by:
stepMatchesType
in interface StepMonitor
stepMatchesPattern
public void stepMatchesPattern(java.lang.String step,
boolean matches,
java.lang.String pattern,
java.lang.reflect.Method method,
java.lang.Object stepsInstance)
- Specified by:
stepMatchesPattern
in interface StepMonitor
convertedValueOfType
public void convertedValueOfType(java.lang.String value,
java.lang.reflect.Type type,
java.lang.Object converted,
java.lang.Class<?> converterClass)
- Specified by:
convertedValueOfType
in interface StepMonitor
performing
public void performing(java.lang.String step,
boolean dryRun)
- Specified by:
performing
in interface StepMonitor
usingAnnotatedNameForParameter
public void usingAnnotatedNameForParameter(java.lang.String name,
int position)
- Specified by:
usingAnnotatedNameForParameter
in interface StepMonitor
usingParameterNameForParameter
public void usingParameterNameForParameter(java.lang.String name,
int position)
- Specified by:
usingParameterNameForParameter
in interface StepMonitor
usingTableAnnotatedNameForParameter
public void usingTableAnnotatedNameForParameter(java.lang.String name,
int position)
- Specified by:
usingTableAnnotatedNameForParameter
in interface StepMonitor
usingTableParameterNameForParameter
public void usingTableParameterNameForParameter(java.lang.String name,
int position)
- Specified by:
usingTableParameterNameForParameter
in interface StepMonitor
usingNaturalOrderForParameter
public void usingNaturalOrderForParameter(int position)
- Specified by:
usingNaturalOrderForParameter
in interface StepMonitor
foundParameter
public void foundParameter(java.lang.String parameter,
int position)
- Specified by:
foundParameter
in interface StepMonitor
print
protected void print(java.io.PrintStream output,
java.lang.String message)
Copyright © 2003-2010. All Rights Reserved.