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
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
(package private) static final String
Fields inherited from class org.apache.logging.log4j.core.script.AbstractScript
DEFAULT_LANGUAGE, LOGGER
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.logging.log4j.core.script.AbstractScript
getLanguage, getName, getScriptText
-
Field Details
-
ATTR_LANGUAGE
- See Also:
-
ATTR_SCRIPT_TEXT
- See Also:
-
PLUGIN_NAME
- See Also:
-
-
Constructor Details
-
Script
-
-
Method Details
-
createScript
@PluginFactory public static Script createScript(@PluginAttribute("name") String name, @PluginAttribute("language") String language, @PluginValue("scriptText") String scriptText) -
toString
-