org.jbehave.core.steps
Class NullStepMonitor
java.lang.Object
org.jbehave.core.steps.NullStepMonitor
- All Implemented Interfaces:
- StepMonitor
public class NullStepMonitor
- extends java.lang.Object
- implements StepMonitor
Null Object Pattern implementation of StepMonitor.
Can be extended to override only the methods of interest.
|
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)
|
void |
stepMatchesPattern(java.lang.String step,
boolean matches,
StepPattern pattern,
java.lang.reflect.Method method,
java.lang.Object stepsInstance)
|
void |
stepMatchesType(java.lang.String stepAsString,
java.lang.String previousAsString,
boolean matchesType,
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 |
NullStepMonitor
public NullStepMonitor()
stepMatchesType
public void stepMatchesType(java.lang.String stepAsString,
java.lang.String previousAsString,
boolean matchesType,
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,
StepPattern 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
Copyright © 2003-2012. All Rights Reserved.