Class DefaultScriptFileComponentBuilder
java.lang.Object
org.apache.logging.log4j.core.config.builder.impl.DefaultComponentBuilder<T,DefaultConfigurationBuilder<? extends Configuration>>
org.apache.logging.log4j.core.config.builder.impl.DefaultComponentAndConfigurationBuilder<ScriptFileComponentBuilder>
org.apache.logging.log4j.core.config.builder.impl.DefaultScriptFileComponentBuilder
- All Implemented Interfaces:
ComponentBuilder<ScriptFileComponentBuilder>
,ScriptFileComponentBuilder
,Builder<Component>
class DefaultScriptFileComponentBuilder
extends DefaultComponentAndConfigurationBuilder<ScriptFileComponentBuilder>
implements ScriptFileComponentBuilder
Creates a ScriptFile ComponentBuilder.
- Since:
- 2.5
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScriptFileComponentBuilder
(DefaultConfigurationBuilder<? extends Configuration> builder, String name, String path) -
Method Summary
Modifier and TypeMethodDescriptionaddCharset
(String charset) addIsWatched
(boolean isWatched) addIsWatched
(String isWatched) addLanguage
(String language) Methods inherited from class org.apache.logging.log4j.core.config.builder.impl.DefaultComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, build, getBuilder, getName, put
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, getBuilder, getName
-
Constructor Details
-
DefaultScriptFileComponentBuilder
public DefaultScriptFileComponentBuilder(DefaultConfigurationBuilder<? extends Configuration> builder, String name, String path)
-
-
Method Details
-
addLanguage
- Specified by:
addLanguage
in interfaceScriptFileComponentBuilder
-
addIsWatched
- Specified by:
addIsWatched
in interfaceScriptFileComponentBuilder
-
addIsWatched
- Specified by:
addIsWatched
in interfaceScriptFileComponentBuilder
-
addCharset
- Specified by:
addCharset
in interfaceScriptFileComponentBuilder
-