public class ScriptManager extends Object implements FileWatcher, Serializable
Constructor and Description |
---|
ScriptManager(Configuration configuration,
WatchManager watchManager) |
Modifier and Type | Method and Description |
---|---|
void |
addScript(AbstractScript script) |
Bindings |
createBindings(AbstractScript script) |
Object |
execute(String name,
Bindings bindings) |
void |
fileModified(File file) |
AbstractScript |
getScript(String name) |
public ScriptManager(Configuration configuration, WatchManager watchManager)
public void addScript(AbstractScript script)
public Bindings createBindings(AbstractScript script)
public AbstractScript getScript(String name)
public void fileModified(File file)
fileModified
in interface FileWatcher
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.