@Plugin(name="Script", category="Core", printObject=true) public class Script extends AbstractScript
DEFAULT_LANGUAGE, LOGGER
Constructor and Description |
---|
Script(String name,
String language,
String scriptText) |
Modifier and Type | Method and Description |
---|---|
static Script |
createScript(String name,
String language,
String scriptText) |
String |
toString() |
getLanguage, getName, getScriptText
@PluginFactory public static Script createScript(@PluginAttribute(value="name") String name, @PluginAttribute(value="language") String language, @PluginValue(value="scriptText") String scriptText)
Copyright © 1999-2021 The Apache Software Foundation. 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.