public class Transform extends AbstractModuleFixture<Transform>
label
Constructor and Description |
---|
Transform() |
Modifier and Type | Method and Description |
---|---|
Transform |
expression(java.lang.String expression)
Sets the expression to be used by the transform
|
Transform |
moduleName(java.lang.String script)
Sets the groovy script the user wants to transform the input.
|
Transform |
properties(java.lang.String properties)
Sets the properties to be used by the transform.
|
protected java.lang.String |
toDSL()
Renders the default DSL for this fixture.
|
label, toString
protected java.lang.String toDSL()
toDSL
in class AbstractModuleFixture<Transform>
public Transform expression(java.lang.String expression)
expression
- The expression to transform the inputpublic Transform moduleName(java.lang.String script)
script
- the file where the groovy script is located.public Transform properties(java.lang.String properties)
properties
- the location of the properties file