Class Script
java.lang.Object
org.apache.logging.log4j.core.script.AbstractScript
org.apache.logging.log4j.core.script.Script
@Plugin(name="Script",
category="Core",
printObject=true)
public class Script
extends AbstractScript
Container for the language and body of a script.
-
Field Summary
Fields inherited from class org.apache.logging.log4j.core.script.AbstractScript
DEFAULT_LANGUAGE, LOGGER
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.logging.log4j.core.script.AbstractScript
getLanguage, getName, getScriptText
-
Constructor Details
-
Script
-
-
Method Details
-
createScript
@PluginFactory public static Script createScript(@PluginAttribute("name") String name, @PluginAttribute("language") String language, @PluginValue("scriptText") String scriptText) -
toString
-