Package org.nuxeo.ecm.core.event.script
Class Script
java.lang.Object
org.nuxeo.ecm.core.event.script.Script
- Direct Known Subclasses:
FileScript
,JARFileScript
,JARUrlScript
,URLScript
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionlong
protected CompiledScript
protected static ScriptEngineManager
-
Constructor Summary
-
Method Summary
-
Field Details
-
scripting
-
script
-
lastModified
public volatile long lastModified
-
-
Constructor Details
-
Script
public Script()
-
-
Method Details
-
getScripting
-
newScript
- Throws:
IOException
-
newScript
- Throws:
IOException
-
newScript
-
getReader
- Throws:
IOException
-
getReaderIfModified
- Throws:
IOException
-
getExtension
-
getLocation
-
getExtension
-
run
- Throws:
ScriptException
-
getCompiledScript
- Throws:
ScriptException
-
compile
- Throws:
ScriptException
-