Package org.citrusframework.actions
Class TransformAction.Builder
java.lang.Object
org.citrusframework.AbstractTestActionBuilder<TransformAction,TransformAction.Builder>
org.citrusframework.actions.TransformAction.Builder
- All Implemented Interfaces:
TestActionBuilder<TransformAction>
- Enclosing class:
- TransformAction
public static final class TransformAction.Builder
extends AbstractTestActionBuilder<TransformAction,TransformAction.Builder>
Action builder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.citrusframework.TestActionBuilder
TestActionBuilder.DelegatingTestActionBuilder<T extends TestAction> -
Field Summary
Fields inherited from class org.citrusframework.AbstractTestActionBuilder
selfFields inherited from interface org.citrusframework.TestActionBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Set the target variable for the resultSet the XML documentSet the XML document as resourceSet the XML document as resourcesourceFile(String xmlResourcePath) Set the XML document as resource file pathsourceFile(String xmlResourcePath, String charset) Set the XML document as resource file pathstatic TransformAction.BuilderFluent API action building entry method used in Java DSL.Set the target variable for the resultSet the XSLT documentSet the XSLT document as resourceSet the XSLT document as resourceSet the XML document as resource file pathSet the XML document as resource file pathMethods inherited from class org.citrusframework.AbstractTestActionBuilder
actor, description, getActor, getDescription, getName, name
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transform
Fluent API action building entry method used in Java DSL.- Returns:
-
result
Set the target variable for the result- Parameters:
variable-
-
variable
Set the target variable for the result- Parameters:
variable-
-
source
Set the XML document- Parameters:
xmlData- the xmlData to set
-
source
Set the XML document as resource- Parameters:
xmlResource- the xmlResource to set
-
sourceFile
Set the XML document as resource file path- Parameters:
xmlResourcePath- the xmlResource to set
-
sourceFile
Set the XML document as resource file path- Parameters:
xmlResourcePath- the xmlResource to setcharset-
-
source
Set the XML document as resource- Parameters:
xmlResource- the xmlResource to setcharset-
-
xslt
Set the XSLT document- Parameters:
xsltData- the xsltData to set
-
xslt
Set the XSLT document as resource- Parameters:
xsltResource- the xsltResource to set
-
xsltFile
Set the XML document as resource file path- Parameters:
xsltResourcePath- the xmlResource to set
-
xsltFile
Set the XML document as resource file path- Parameters:
xsltResourcePath- the xmlResource to setcharset-
-
xslt
Set the XSLT document as resource- Parameters:
xsltResource- the xsltResource to setcharset-
-
build
-