public static class GroovyScriptExecutor.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
GroovyScriptExecutor |
build()
Creates a new
GroovyScriptExecutor with all the previously defined properties. |
GroovyScriptExecutor.Builder |
withProperties(Map<String,String> properties)
Specifies a Map of properties to be passed to the Groovy script.
|
GroovyScriptExecutor.Builder |
withProperty(String property,
String value)
Specifies a property to be passed to the Groovy script.
|
GroovyScriptExecutor.Builder |
withPropertyUsingLambda(String property,
Supplier<String> propertySupplier)
Specifies a property to be passed to the Groovy script that needs to be resolved before its execution.
|
public GroovyScriptExecutor.Builder withProperty(String property, String value)
property - value - public GroovyScriptExecutor.Builder withPropertyUsingLambda(String property, Supplier<String> propertySupplier)
property - propertySupplier - public GroovyScriptExecutor.Builder withProperties(Map<String,String> properties)
properties - public GroovyScriptExecutor build()
GroovyScriptExecutor with all the previously defined properties.GroovyScriptExecutor instanceCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.