Uses of Class
org.apache.logging.log4j.core.script.AbstractScript
-
Packages that use AbstractScript Package Description org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.appender.rolling.action Support classes for the Rolling File Appender.org.apache.logging.log4j.core.appender.routing Apache Flume Appender.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.config.arbiters org.apache.logging.log4j.core.filter Log4j 2 Filter support.org.apache.logging.log4j.core.layout Log4j 2 Layout support.org.apache.logging.log4j.core.script Log4j 2 Script support. -
-
Uses of AbstractScript in org.apache.logging.log4j.core.appender
Fields in org.apache.logging.log4j.core.appender declared as AbstractScript Modifier and Type Field Description private AbstractScriptScriptAppenderSelector.Builder. scriptMethods in org.apache.logging.log4j.core.appender that return AbstractScript Modifier and Type Method Description AbstractScriptScriptAppenderSelector.Builder. getScript()Methods in org.apache.logging.log4j.core.appender with parameters of type AbstractScript Modifier and Type Method Description ScriptAppenderSelector.BuilderScriptAppenderSelector.Builder. withScript(AbstractScript script) -
Uses of AbstractScript in org.apache.logging.log4j.core.appender.rolling.action
Fields in org.apache.logging.log4j.core.appender.rolling.action declared as AbstractScript Modifier and Type Field Description private AbstractScriptScriptCondition. scriptMethods in org.apache.logging.log4j.core.appender.rolling.action with parameters of type AbstractScript Modifier and Type Method Description static ScriptConditionScriptCondition. createCondition(AbstractScript script, Configuration configuration)Creates the ScriptCondition.Constructors in org.apache.logging.log4j.core.appender.rolling.action with parameters of type AbstractScript Constructor Description ScriptCondition(AbstractScript script, Configuration configuration)Constructs a new ScriptCondition. -
Uses of AbstractScript in org.apache.logging.log4j.core.appender.routing
Fields in org.apache.logging.log4j.core.appender.routing declared as AbstractScript Modifier and Type Field Description private AbstractScriptRoutingAppender.Builder. defaultRouteScriptprivate AbstractScriptRoutingAppender. defaultRouteScriptprivate AbstractScriptRoutes.Builder. patternScriptprivate AbstractScriptRoutes. patternScriptMethods in org.apache.logging.log4j.core.appender.routing that return AbstractScript Modifier and Type Method Description AbstractScriptRoutingAppender.Builder. getDefaultRouteScript()AbstractScriptRoutingAppender. getDefaultRouteScript()AbstractScriptRoutes.Builder. getPatternScript()AbstractScriptRoutes. getPatternScript()Gets the optional script that decides which route to pick.Methods in org.apache.logging.log4j.core.appender.routing with parameters of type AbstractScript Modifier and Type Method Description BRoutingAppender.Builder. withDefaultRouteScript(AbstractScript defaultRouteScript)Routes.BuilderRoutes.Builder. withPatternScript(AbstractScript patternScript)Constructors in org.apache.logging.log4j.core.appender.routing with parameters of type AbstractScript Constructor Description Routes(Configuration configuration, AbstractScript patternScript, java.lang.String pattern, Route... routes)RoutingAppender(java.lang.String name, Filter filter, boolean ignoreExceptions, Routes routes, RewritePolicy rewritePolicy, Configuration configuration, PurgePolicy purgePolicy, AbstractScript defaultRouteScript, Property[] properties) -
Uses of AbstractScript in org.apache.logging.log4j.core.config
Methods in org.apache.logging.log4j.core.config that return AbstractScript Modifier and Type Method Description static AbstractScript[]ScriptsPlugin. createScripts(AbstractScript[] scripts)Return the array of scriptsMethods in org.apache.logging.log4j.core.config with parameters of type AbstractScript Modifier and Type Method Description static AbstractScript[]ScriptsPlugin. createScripts(AbstractScript[] scripts)Return the array of scripts -
Uses of AbstractScript in org.apache.logging.log4j.core.config.arbiters
Fields in org.apache.logging.log4j.core.config.arbiters declared as AbstractScript Modifier and Type Field Description private AbstractScriptScriptArbiter. scriptConstructors in org.apache.logging.log4j.core.config.arbiters with parameters of type AbstractScript Constructor Description ScriptArbiter(Configuration configuration, AbstractScript script) -
Uses of AbstractScript in org.apache.logging.log4j.core.filter
Fields in org.apache.logging.log4j.core.filter declared as AbstractScript Modifier and Type Field Description private AbstractScriptScriptFilter. scriptMethods in org.apache.logging.log4j.core.filter with parameters of type AbstractScript Modifier and Type Method Description static ScriptFilterScriptFilter. createFilter(AbstractScript script, Filter.Result match, Filter.Result mismatch, Configuration configuration)Creates the ScriptFilter.Constructors in org.apache.logging.log4j.core.filter with parameters of type AbstractScript Constructor Description ScriptFilter(AbstractScript script, Configuration configuration, Filter.Result onMatch, Filter.Result onMismatch) -
Uses of AbstractScript in org.apache.logging.log4j.core.layout
Fields in org.apache.logging.log4j.core.layout declared as AbstractScript Modifier and Type Field Description private AbstractScriptScriptPatternSelector.Builder. scriptprivate AbstractScriptScriptPatternSelector. scriptMethods in org.apache.logging.log4j.core.layout with parameters of type AbstractScript Modifier and Type Method Description static ScriptPatternSelectorScriptPatternSelector. createSelector(AbstractScript script, PatternMatch[] properties, java.lang.String defaultPattern, boolean alwaysWriteExceptions, boolean noConsoleNoAnsi, Configuration configuration)Deprecated.UseScriptPatternSelector.newBuilder()instead.ScriptPatternSelector.BuilderScriptPatternSelector.Builder. setScript(AbstractScript script)Constructors in org.apache.logging.log4j.core.layout with parameters of type AbstractScript Constructor Description ScriptPatternSelector(Configuration config, AbstractScript script, PatternMatch[] properties, java.lang.String defaultPattern, boolean alwaysWriteExceptions, boolean disableAnsi, boolean noConsoleNoAnsi)ScriptPatternSelector(AbstractScript script, PatternMatch[] properties, java.lang.String defaultPattern, boolean alwaysWriteExceptions, boolean disableAnsi, boolean noConsoleNoAnsi, Configuration config)Deprecated.UseScriptPatternSelector.newBuilder()instead. -
Uses of AbstractScript in org.apache.logging.log4j.core.script
Subclasses of AbstractScript in org.apache.logging.log4j.core.script Modifier and Type Class Description classScriptContainer for the language and body of a script.classScriptFileContainer for the language and body of a script file along with the file location.classScriptRefContains a reference to a script defined elsewhere in the configuration.Fields in org.apache.logging.log4j.core.script declared as AbstractScript Modifier and Type Field Description private AbstractScriptScriptManager.MainScriptRunner. scriptprivate AbstractScriptScriptManager.ThreadLocalScriptRunner. scriptMethods in org.apache.logging.log4j.core.script that return AbstractScript Modifier and Type Method Description AbstractScriptScriptManager. getScript(java.lang.String name)AbstractScriptScriptManager.MainScriptRunner. getScript()AbstractScriptScriptManager.ScriptRunner. getScript()AbstractScriptScriptManager.ThreadLocalScriptRunner. getScript()Methods in org.apache.logging.log4j.core.script with parameters of type AbstractScript Modifier and Type Method Description booleanScriptManager. addScript(AbstractScript script)javax.script.BindingsScriptManager. createBindings(AbstractScript script)private ScriptManager.ScriptRunnerScriptManager. getScriptRunner(AbstractScript script)Constructors in org.apache.logging.log4j.core.script with parameters of type AbstractScript Constructor Description MainScriptRunner(javax.script.ScriptEngine scriptEngine, AbstractScript script)ThreadLocalScriptRunner(AbstractScript script)
-