@Plugin(name="ScriptFile", category="Core", printObject=true) public class ScriptFile extends AbstractScript
DEFAULT_LANGUAGE, LOGGER
Constructor | Description |
---|---|
ScriptFile(String name,
Path filePath,
String language,
boolean isWatched,
String scriptText) |
Modifier and Type | Method | Description |
---|---|---|
static ScriptFile |
createScript(String name,
String language,
String filePathOrUri,
Boolean isWatched,
Charset charset) |
|
Path |
getPath() |
|
boolean |
isWatched() |
|
String |
toString() |
getLanguage, getName, getScriptText
public Path getPath()
public boolean isWatched()
@PluginFactory public static ScriptFile createScript(@PluginAttribute("name") String name, @PluginAttribute("language") String language, @PluginAttribute("path") String filePathOrUri, @PluginAttribute("isWatched") Boolean isWatched, @PluginAttribute("charset") Charset charset)
Copyright © 1999-2018. 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.