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
Constructors Constructor Description DefaultScriptFileComponentBuilder(DefaultConfigurationBuilder<? extends Configuration> builder, java.lang.String name, java.lang.String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultScriptFileComponentBuilder
addCharset(java.lang.String charset)
DefaultScriptFileComponentBuilder
addIsWatched(boolean isWatched)
DefaultScriptFileComponentBuilder
addIsWatched(java.lang.String isWatched)
DefaultScriptFileComponentBuilder
addLanguage(java.lang.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.util.Builder
build, getErrorPrefix, isValid
-
Methods inherited from interface org.apache.logging.log4j.core.config.builder.api.ComponentBuilder
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addComponent, getBuilder, getName
-
-
-
-
Constructor Detail
-
DefaultScriptFileComponentBuilder
public DefaultScriptFileComponentBuilder(DefaultConfigurationBuilder<? extends Configuration> builder, java.lang.String name, java.lang.String path)
-
-
Method Detail
-
addLanguage
public DefaultScriptFileComponentBuilder addLanguage(java.lang.String language)
- Specified by:
addLanguage
in interfaceScriptFileComponentBuilder
-
addIsWatched
public DefaultScriptFileComponentBuilder addIsWatched(boolean isWatched)
- Specified by:
addIsWatched
in interfaceScriptFileComponentBuilder
-
addIsWatched
public DefaultScriptFileComponentBuilder addIsWatched(java.lang.String isWatched)
- Specified by:
addIsWatched
in interfaceScriptFileComponentBuilder
-
addCharset
public DefaultScriptFileComponentBuilder addCharset(java.lang.String charset)
- Specified by:
addCharset
in interfaceScriptFileComponentBuilder
-
-