public class TemplateBuilder extends AbstractTestActionBuilder<Template>
action| Constructor and Description |
|---|
TemplateBuilder()
Default constructor.
|
TemplateBuilder(Template action)
Constructor using action field.
|
| Modifier and Type | Method and Description |
|---|---|
TemplateBuilder |
globalContext(boolean globalContext)
Boolean flag marking the template variables should also affect
variables in test case.
|
TemplateBuilder |
load(org.springframework.context.ApplicationContext applicationContext)
Loads template bean from Spring bean application context and sets attributes.
|
TemplateBuilder |
name(String name)
Sets the template name.
|
TemplateBuilder |
parameter(String name,
String value)
Set parameter before execution.
|
TemplateBuilder |
parameters(Map<String,String> parameters)
Set parameter before execution.
|
actor, build, description, execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNamepublic TemplateBuilder(Template action)
action - public TemplateBuilder()
public TemplateBuilder name(String name)
name - public TemplateBuilder load(org.springframework.context.ApplicationContext applicationContext)
applicationContext - public TemplateBuilder globalContext(boolean globalContext)
globalContext - the globalContext to setpublic TemplateBuilder parameters(Map<String,String> parameters)
parameters - the parameter to setpublic TemplateBuilder parameter(String name, String value)
name - value - Copyright © 2008–2019 ConSol Software GmbH. All rights reserved.