org.jbehave.scenario.steps
Class PrintStreamStepMonitor
java.lang.Object
org.jbehave.scenario.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 |
foundArg(java.lang.String arg,
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 |
usingAnnotatedNameForArg(java.lang.String name,
int position)
|
void |
usingNaturalOrderForArg(int position)
|
void |
usingParameterNameForArg(java.lang.String name,
int position)
|
void |
usingTableAnnotatedNameForArg(java.lang.String name,
int position)
|
void |
usingTableParameterNameForArg(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
usingAnnotatedNameForArg
public void usingAnnotatedNameForArg(java.lang.String name,
int position)
- Specified by:
usingAnnotatedNameForArg in interface StepMonitor
usingParameterNameForArg
public void usingParameterNameForArg(java.lang.String name,
int position)
- Specified by:
usingParameterNameForArg in interface StepMonitor
usingTableAnnotatedNameForArg
public void usingTableAnnotatedNameForArg(java.lang.String name,
int position)
- Specified by:
usingTableAnnotatedNameForArg in interface StepMonitor
usingTableParameterNameForArg
public void usingTableParameterNameForArg(java.lang.String name,
int position)
- Specified by:
usingTableParameterNameForArg in interface StepMonitor
usingNaturalOrderForArg
public void usingNaturalOrderForArg(int position)
- Specified by:
usingNaturalOrderForArg in interface StepMonitor
foundArg
public void foundArg(java.lang.String arg,
int position)
- Specified by:
foundArg in interface StepMonitor
print
protected void print(java.io.PrintStream output,
java.lang.String message)
Copyright © 2003-2010. All Rights Reserved.