Class AutomationScriptingServiceImpl
- java.lang.Object
-
- org.nuxeo.automation.scripting.internals.AutomationScriptingServiceImpl
-
- All Implemented Interfaces:
AutomationScriptingService
public class AutomationScriptingServiceImpl extends Object implements AutomationScriptingService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.nuxeo.automation.scripting.api.AutomationScriptingService
AutomationScriptingService.Session
-
-
Field Summary
Fields Modifier and Type Field Description protected Set<String>
allowedClassNames
protected ScriptEngine
engine
protected CompiledScript
mapperScript
static String
OPTIMISTIC_TYPES_ENABLED_PROPERTY_KEY
protected AutomationScriptingParamsInjector
paramsInjector
-
Constructor Summary
Constructors Constructor Description AutomationScriptingServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearMapperScript()
AutomationScriptingService.Session
get(OperationContext context)
AutomationScriptingService.Session
get(CoreSession session)
protected ClassFilter
getClassFilter()
protected CompiledScript
getMapperScript()
protected ScriptEngine
getScriptEngine()
protected ScriptEngine
getScriptEngine(boolean cache, boolean filter)
protected boolean
isOptimisticTypesEnabled()
-
-
-
Field Detail
-
OPTIMISTIC_TYPES_ENABLED_PROPERTY_KEY
public static final String OPTIMISTIC_TYPES_ENABLED_PROPERTY_KEY
- Since:
- 2023.9
- See Also:
- Constant Field Values
-
engine
protected final ScriptEngine engine
-
mapperScript
protected volatile CompiledScript mapperScript
-
paramsInjector
protected AutomationScriptingParamsInjector paramsInjector
-
-
Method Detail
-
get
public AutomationScriptingService.Session get(CoreSession session)
- Specified by:
get
in interfaceAutomationScriptingService
-
get
public AutomationScriptingService.Session get(OperationContext context)
- Specified by:
get
in interfaceAutomationScriptingService
-
getMapperScript
protected CompiledScript getMapperScript()
-
clearMapperScript
protected void clearMapperScript()
-
getScriptEngine
protected ScriptEngine getScriptEngine()
-
getScriptEngine
protected ScriptEngine getScriptEngine(boolean cache, boolean filter)
-
isOptimisticTypesEnabled
protected boolean isOptimisticTypesEnabled()
-
getClassFilter
protected ClassFilter getClassFilter()
-
-