|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StepDefinition
Method Summary | |
---|---|
void |
execute(gherkin.I18n i18n,
Object[] args)
Invokes the step definition. |
String |
getLocation(boolean detail)
The source line where the step definition is defined. |
Integer |
getParameterCount()
How many declared parameters this stepdefinition has. |
ParameterType |
getParameterType(int n,
Type argumentType)
The parameter type at index n. |
String |
getPattern()
|
boolean |
isDefinedAt(StackTraceElement stackTraceElement)
Return true if this matches the location. |
List<gherkin.formatter.Argument> |
matchedArguments(gherkin.formatter.model.Step step)
Returns a list of arguments. |
Method Detail |
---|
List<gherkin.formatter.Argument> matchedArguments(gherkin.formatter.model.Step step)
String getLocation(boolean detail)
detail
- true if extra detailed location information should be included.Integer getParameterCount()
ParameterType getParameterType(int n, Type argumentType) throws IndexOutOfBoundsException
argumentType
while dynamically
typed ones will use it to infer a "good type". It's also ok to return null.
IndexOutOfBoundsException
void execute(gherkin.I18n i18n, Object[] args) throws Throwable
Throwable
boolean isDefinedAt(StackTraceElement stackTraceElement)
String getPattern()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |