Constructor and Description |
---|
ScriptExecutor(ScriptExecutorType scriptExecutorType)
Create a script executor of the provided script executor type
|
Modifier and Type | Method and Description |
---|---|
Model |
execute(MappingResource mappingResource,
String inputVariable,
String properties)
Method to execute the mapping config in the
MappingResource on
input variable and returns the output model |
public ScriptExecutor(ScriptExecutorType scriptExecutorType)
scriptExecutorType
- public Model execute(MappingResource mappingResource, String inputVariable, String properties) throws JSException, SchemaException
Executor
MappingResource
on
input variable and returns the output modelexecute
in interface Executor
mappingResource
- mapping resource modelinputVariable
- input variableJSException
- if mapping throws an exceptionSchemaException
Copyright © 2018 WSO2. All rights reserved.