Class KotlinScriptExecutor
java.lang.Object
org.springframework.integration.scripting.jsr223.AbstractScriptExecutor
org.springframework.integration.scripting.jsr223.KotlinScriptExecutor
- All Implemented Interfaces:
ScriptExecutor
@Deprecated(since="6.1.6",
forRemoval=true)
public class KotlinScriptExecutor
extends AbstractScriptExecutor
Deprecated, for removal: This API element is subject to removal in a future version.
An
AbstractScriptExecutor
for the Kotlin scripts support.- Since:
- 5.2
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.scripting.jsr223.AbstractScriptExecutor
logger
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
postProcess
(Object result, ScriptEngine scriptEngine, String script, Bindings bindings) Deprecated, for removal: This API element is subject to removal in a future version.Subclasses may implement this to provide any special handling requiredMethods inherited from class org.springframework.integration.scripting.jsr223.AbstractScriptExecutor
executeScript, getScriptEngine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.scripting.ScriptExecutor
executeScript
-
Constructor Details
-
KotlinScriptExecutor
public KotlinScriptExecutor()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
postProcess
protected Object postProcess(Object result, ScriptEngine scriptEngine, String script, Bindings bindings) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractScriptExecutor
Subclasses may implement this to provide any special handling required- Specified by:
postProcess
in classAbstractScriptExecutor
- Parameters:
result
- the result.scriptEngine
- the engine.script
- the script.bindings
- the bindings.- Returns:
- modified result
-
DefaultScriptExecutor
withkotlin
as an argument.