Class TemplateParser.TemplateFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<com.consol.citrus.container.Template>
    Enclosing class:
    TemplateParser

    public static class TemplateParser.TemplateFactoryBean
    extends AbstractTestActionFactoryBean<com.consol.citrus.container.Template,​com.consol.citrus.container.Template.Builder>
    Test action factory bean.
    • Constructor Detail

      • TemplateFactoryBean

        public TemplateFactoryBean()
    • Method Detail

      • setTemplateName

        public void setTemplateName​(String templateName)
        Sets the template name.
        Parameters:
        templateName -
      • setActions

        public void setActions​(List<com.consol.citrus.TestAction> actions)
        Sets the test actions.
        Parameters:
        actions -
      • setParameter

        public void setParameter​(Map<String,​String> parameter)
        Set parameter before execution.
        Parameters:
        parameter - the parameter to set
      • setGlobalContext

        public void setGlobalContext​(boolean globalContext)
        Boolean flag marking the template variables should also affect variables in test case.
        Parameters:
        globalContext - the globalContext to set
      • getObject

        public com.consol.citrus.container.Template getObject()
                                                       throws Exception
        Adds test actions to container when building object.
        Returns:
        Throws:
        Exception
      • getObjectType

        public Class<?> getObjectType()
      • getBuilder

        public com.consol.citrus.container.Template.Builder getBuilder()
        Obtains the builder.
        Specified by:
        getBuilder in class AbstractTestActionFactoryBean<com.consol.citrus.container.Template,​com.consol.citrus.container.Template.Builder>
        Returns:
        the builder implementation.