Package com.consol.citrus.actions
Class TransformAction
- java.lang.Object
-
- com.consol.citrus.actions.AbstractTestAction
-
- com.consol.citrus.actions.TransformAction
-
- All Implemented Interfaces:
com.consol.citrus.common.Described
,com.consol.citrus.common.Named
,com.consol.citrus.TestAction
,com.consol.citrus.TestActorAware
public class TransformAction extends AbstractTestAction
Action transforms a XML document(specified inline or from external file resource) with a XSLT document(specified inline or from external file resource) and puts the result in the specified variable.- Since:
- 2010
- Author:
- Philipp Komninos
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransformAction.Builder
Action builder.
-
Field Summary
-
Fields inherited from class com.consol.citrus.actions.AbstractTestAction
description
-
-
Constructor Summary
Constructors Constructor Description TransformAction(TransformAction.Builder builder)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doExecute(com.consol.citrus.context.TestContext context)
Subclasses may add custom execution logic here.String
getTargetVariable()
Gets the targetVariable.String
getXmlData()
Gets the xmlData.String
getXmlResourcePath()
Gets the xmlResource.String
getXsltData()
Gets the xsltData.String
getXsltResourcePath()
Gets the xsltResource.-
Methods inherited from class com.consol.citrus.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
-
-
-
Constructor Detail
-
TransformAction
public TransformAction(TransformAction.Builder builder)
Default constructor.
-
-
Method Detail
-
doExecute
public void doExecute(com.consol.citrus.context.TestContext context)
Description copied from class:AbstractTestAction
Subclasses may add custom execution logic here.- Specified by:
doExecute
in classAbstractTestAction
-
getXmlData
public String getXmlData()
Gets the xmlData.- Returns:
- the xmlData
-
getXmlResourcePath
public String getXmlResourcePath()
Gets the xmlResource.- Returns:
- the xmlResource
-
getXsltData
public String getXsltData()
Gets the xsltData.- Returns:
- the xsltData
-
getXsltResourcePath
public String getXsltResourcePath()
Gets the xsltResource.- Returns:
- the xsltResource
-
getTargetVariable
public String getTargetVariable()
Gets the targetVariable.- Returns:
- the targetVariable
-
-