org.jbehave.core.steps
Class NullStepMonitor

java.lang.Object
  extended by org.jbehave.core.steps.NullStepMonitor
All Implemented Interfaces:
StepMonitor

public class NullStepMonitor
extends Object
implements StepMonitor

Null Object Pattern implementation of StepMonitor. Can be extended to override only the methods of interest.


Constructor Summary
NullStepMonitor()
           
 
Method Summary
 void convertedValueOfType(String value, Type type, Object converted, Class<?> converterClass)
           
 void foundParameter(String parameter, int position)
           
 void performing(String step, boolean dryRun)
           
 void stepMatchesPattern(String step, boolean matches, StepPattern pattern, Method method, Object stepsInstance)
           
 void stepMatchesType(String stepAsString, String previousAsString, boolean matchesType, StepType stepType, Method method, Object stepsInstance)
           
 void usingAnnotatedNameForParameter(String name, int position)
           
 void usingNaturalOrderForParameter(int position)
           
 void usingParameterNameForParameter(String name, int position)
           
 void usingTableAnnotatedNameForParameter(String name, int position)
           
 void usingTableParameterNameForParameter(String name, int position)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullStepMonitor

public NullStepMonitor()
Method Detail

stepMatchesType

public void stepMatchesType(String stepAsString,
                            String previousAsString,
                            boolean matchesType,
                            StepType stepType,
                            Method method,
                            Object stepsInstance)
Specified by:
stepMatchesType in interface StepMonitor

stepMatchesPattern

public void stepMatchesPattern(String step,
                               boolean matches,
                               StepPattern pattern,
                               Method method,
                               Object stepsInstance)
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,
                       boolean dryRun)
Specified by:
performing in interface StepMonitor

usingAnnotatedNameForParameter

public void usingAnnotatedNameForParameter(String name,
                                           int position)
Specified by:
usingAnnotatedNameForParameter in interface StepMonitor

usingParameterNameForParameter

public void usingParameterNameForParameter(String name,
                                           int position)
Specified by:
usingParameterNameForParameter in interface StepMonitor

usingTableAnnotatedNameForParameter

public void usingTableAnnotatedNameForParameter(String name,
                                                int position)
Specified by:
usingTableAnnotatedNameForParameter in interface StepMonitor

usingTableParameterNameForParameter

public void usingTableParameterNameForParameter(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(String parameter,
                           int position)
Specified by:
foundParameter in interface StepMonitor


Copyright © 2003-2012. All Rights Reserved.