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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Script
createScript(String name, String language, String scriptText)
String
toString()
-
Methods inherited from class org.apache.logging.log4j.core.script.AbstractScript
getLanguage, getName, getScriptText
-
-
-
-
Method Detail
-
createScript
@PluginFactory public static Script createScript(@PluginAttribute("name") String name, @PluginAttribute("language") String language, @PluginValue("scriptText") String scriptText)
-
-