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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic IGherkinExecutablegetOwner()getValue()voidregisterExecutionMethod(Method method, IStatementOwner owner) voidregisterManager(IGherkinManager manager) voidsetRegexGroups(List<String> groups)
-
Constructor Details
-
GherkinStatement
- Throws:
TestRunException
-
-
Method Details
-
get
- Throws:
TestRunException
-
registerManager
- Specified by:
registerManagerin interfaceIGherkinExecutable- Throws:
TestRunException
-
registerExecutionMethod
- Specified by:
registerExecutionMethodin interfaceIGherkinExecutable- Throws:
TestRunException
-
getRegisteredManager
- Specified by:
getRegisteredManagerin interfaceIGherkinExecutable
-
getValue
- Specified by:
getValuein interfaceIGherkinExecutable
-
getKeyword
- Specified by:
getKeywordin interfaceIGherkinExecutable
-
getRegexGroups
- Specified by:
getRegexGroupsin interfaceIGherkinExecutable
-
setRegexGroups
- Specified by:
setRegexGroupsin interfaceIGherkinExecutable
-
execute
- Specified by:
executein interfaceIGherkinExecutable- Throws:
ManagerException
-
getOwner
- Specified by:
getOwnerin interfaceIGherkinExecutable
-