org.jbehave.core.steps
Class ParameterConverters.MethodReturningConverter
java.lang.Object
org.jbehave.core.steps.ParameterConverters.MethodReturningConverter
- All Implemented Interfaces:
- ParameterConverters.ParameterConverter
- Enclosing class:
- ParameterConverters
public static class ParameterConverters.MethodReturningConverter
- extends Object
- implements ParameterConverters.ParameterConverter
Invokes method on instance to return value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterConverters.MethodReturningConverter
public ParameterConverters.MethodReturningConverter(Method method,
Object instance)
ParameterConverters.MethodReturningConverter
public ParameterConverters.MethodReturningConverter(Method method,
Class<?> stepsType,
InjectableStepsFactory stepsFactory)
accept
public boolean accept(Type type)
- Specified by:
accept
in interface ParameterConverters.ParameterConverter
convertValue
public Object convertValue(String value,
Type type)
- Specified by:
convertValue
in interface ParameterConverters.ParameterConverter
Copyright © 2003-2012. All Rights Reserved.