|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameters
Provides parameter values as given types
Method Summary | ||
---|---|---|
|
valueAs(String name,
Class<T> type)
Returns the value of a named parameter as a given type |
|
|
valueAs(String name,
Class<T> type,
T defaultValue)
Returns the value of a named parameter as a given type while providing a default value if the name is not found |
Methods inherited from interface org.jbehave.core.steps.Row |
---|
values |
Method Detail |
---|
<T> T valueAs(String name, Class<T> type)
type
- the Class of type name
- the name of the parameter
<T> T valueAs(String name, Class<T> type, T defaultValue)
type
- Class of type name
- the name of the parameterdefaultValue
- the default value if the name is not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |