Class JuelScriptEngineFactory
- java.lang.Object
-
- org.camunda.bpm.engine.impl.scripting.engine.JuelScriptEngineFactory
-
- All Implemented Interfaces:
javax.script.ScriptEngineFactory
public class JuelScriptEngineFactory extends java.lang.Object implements javax.script.ScriptEngineFactory
Factory to createJuelScriptEngine
s.- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.String>
names
-
Constructor Summary
Constructors Constructor Description JuelScriptEngineFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEngineName()
java.lang.String
getEngineVersion()
java.util.List<java.lang.String>
getExtensions()
java.lang.String
getLanguageName()
java.lang.String
getLanguageVersion()
java.lang.String
getMethodCallSyntax(java.lang.String obj, java.lang.String method, java.lang.String... arguments)
java.util.List<java.lang.String>
getMimeTypes()
java.util.List<java.lang.String>
getNames()
java.lang.String
getOutputStatement(java.lang.String toDisplay)
java.lang.String
getParameter(java.lang.String key)
java.lang.String
getProgram(java.lang.String... statements)
javax.script.ScriptEngine
getScriptEngine()
-
-
-
Method Detail
-
getEngineName
public java.lang.String getEngineName()
- Specified by:
getEngineName
in interfacejavax.script.ScriptEngineFactory
-
getEngineVersion
public java.lang.String getEngineVersion()
- Specified by:
getEngineVersion
in interfacejavax.script.ScriptEngineFactory
-
getExtensions
public java.util.List<java.lang.String> getExtensions()
- Specified by:
getExtensions
in interfacejavax.script.ScriptEngineFactory
-
getLanguageName
public java.lang.String getLanguageName()
- Specified by:
getLanguageName
in interfacejavax.script.ScriptEngineFactory
-
getLanguageVersion
public java.lang.String getLanguageVersion()
- Specified by:
getLanguageVersion
in interfacejavax.script.ScriptEngineFactory
-
getMethodCallSyntax
public java.lang.String getMethodCallSyntax(java.lang.String obj, java.lang.String method, java.lang.String... arguments)
- Specified by:
getMethodCallSyntax
in interfacejavax.script.ScriptEngineFactory
-
getMimeTypes
public java.util.List<java.lang.String> getMimeTypes()
- Specified by:
getMimeTypes
in interfacejavax.script.ScriptEngineFactory
-
getNames
public java.util.List<java.lang.String> getNames()
- Specified by:
getNames
in interfacejavax.script.ScriptEngineFactory
-
getOutputStatement
public java.lang.String getOutputStatement(java.lang.String toDisplay)
- Specified by:
getOutputStatement
in interfacejavax.script.ScriptEngineFactory
-
getParameter
public java.lang.String getParameter(java.lang.String key)
- Specified by:
getParameter
in interfacejavax.script.ScriptEngineFactory
-
getProgram
public java.lang.String getProgram(java.lang.String... statements)
- Specified by:
getProgram
in interfacejavax.script.ScriptEngineFactory
-
getScriptEngine
public javax.script.ScriptEngine getScriptEngine()
- Specified by:
getScriptEngine
in interfacejavax.script.ScriptEngineFactory
-
-