Class GherkinStatement
java.lang.Object
dev.galasa.framework.spi.language.gherkin.GherkinStatement
- All Implemented Interfaces:
IGherkinExecutable
A GherkinStatement is a single executable statement. ie: A step in the scenario.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static IGherkinExecutable
getOwner()
getValue()
void
registerExecutionMethod
(Method method, IStatementOwner owner) void
registerManager
(IGherkinManager manager) void
setRegexGroups
(List<String> groups)
-
Constructor Details
-
GherkinStatement
- Throws:
TestRunException
-
-
Method Details
-
get
- Throws:
TestRunException
-
registerManager
- Specified by:
registerManager
in interfaceIGherkinExecutable
- Throws:
TestRunException
-
registerExecutionMethod
- Specified by:
registerExecutionMethod
in interfaceIGherkinExecutable
- Throws:
TestRunException
-
getRegisteredManager
- Specified by:
getRegisteredManager
in interfaceIGherkinExecutable
-
getValue
- Specified by:
getValue
in interfaceIGherkinExecutable
-
getKeyword
- Specified by:
getKeyword
in interfaceIGherkinExecutable
-
getRegexGroups
- Specified by:
getRegexGroups
in interfaceIGherkinExecutable
-
setRegexGroups
- Specified by:
setRegexGroups
in interfaceIGherkinExecutable
-
execute
- Specified by:
execute
in interfaceIGherkinExecutable
- Throws:
ManagerException
-
getOwner
- Specified by:
getOwner
in interfaceIGherkinExecutable
-