Class StepTemplateParser.StepTemplateFactoryBean
java.lang.Object
org.citrusframework.config.xml.AbstractTestActionFactoryBean<StepTemplate,StepTemplate.Builder>
org.citrusframework.cucumber.config.xml.StepTemplateParser.StepTemplateFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<StepTemplate>
- Enclosing class:
- StepTemplateParser
public static class StepTemplateParser.StepTemplateFactoryBean
extends AbstractTestActionFactoryBean<StepTemplate,StepTemplate.Builder>
Test action factory bean.
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the builder.Adds test actions to container when building object.Class<?>voidsetActions(List<TestAction> actions) Sets the test actions.voidsetParameterNames(List<String> parameterNames) Sets the parameterNames property.voidsetPattern(Pattern pattern) Sets the pattern property.Methods inherited from class org.citrusframework.config.xml.AbstractTestActionFactoryBean
setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
StepTemplateFactoryBean
public StepTemplateFactoryBean()
-
-
Method Details
-
setPattern
Sets the pattern property.- Parameters:
pattern-
-
setParameterNames
Sets the parameterNames property.- Parameters:
parameterNames-
-
setActions
Sets the test actions.- Parameters:
actions-
-
getObject
Adds test actions to container when building object.- Returns:
- Throws:
Exception
-
getObjectType
-
getBuilder
Obtains the builder.- Specified by:
getBuilderin classAbstractTestActionFactoryBean<StepTemplate,StepTemplate.Builder> - Returns:
- the builder implementation.
-