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 Object
- implements StepMonitor
StepMonitor that prints to a PrintStream
, defaulting to
System.out
.
Method Summary |
void |
convertedValueOfType(String value,
Type type,
Object converted,
Class<?> converterClass)
|
void |
foundArg(String arg,
int position)
|
void |
performing(String step)
|
protected void |
print(PrintStream output,
String message)
|
void |
stepMatchesPattern(String step,
boolean matches,
String pattern)
|
void |
usingAnnotatedNameForArg(String name,
int position)
|
void |
usingNaturalOrderForArg(int position)
|
void |
usingParameterNameForArg(String name,
int position)
|
void |
usingTableAnnotatedNameForArg(String name,
int position)
|
void |
usingTableParameterNameForArg(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(PrintStream output)
stepMatchesPattern
public void stepMatchesPattern(String step,
boolean matches,
String pattern)
- Specified by:
stepMatchesPattern
in interface StepMonitor
convertedValueOfType
public void convertedValueOfType(String value,
Type type,
Object converted,
Class<?> converterClass)
- Specified by:
convertedValueOfType
in interface StepMonitor
performing
public void performing(String step)
- Specified by:
performing
in interface StepMonitor
usingAnnotatedNameForArg
public void usingAnnotatedNameForArg(String name,
int position)
- Specified by:
usingAnnotatedNameForArg
in interface StepMonitor
usingParameterNameForArg
public void usingParameterNameForArg(String name,
int position)
- Specified by:
usingParameterNameForArg
in interface StepMonitor
usingTableAnnotatedNameForArg
public void usingTableAnnotatedNameForArg(String name,
int position)
- Specified by:
usingTableAnnotatedNameForArg
in interface StepMonitor
usingTableParameterNameForArg
public void usingTableParameterNameForArg(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(String arg,
int position)
- Specified by:
foundArg
in interface StepMonitor
print
protected void print(PrintStream output,
String message)
Copyright © 2003-2010. All Rights Reserved.