public static class ScriptPatternSelector.Builder extends Object implements Builder<ScriptPatternSelector>
builder factory method
to create this.Modifier and Type | Method and Description |
---|---|
ScriptPatternSelector |
build()
Builds the object after all configuration has been set.
|
ScriptPatternSelector.Builder |
setAlwaysWriteExceptions(boolean alwaysWriteExceptions) |
ScriptPatternSelector.Builder |
setConfiguration(Configuration config) |
ScriptPatternSelector.Builder |
setDefaultPattern(String defaultPattern) |
ScriptPatternSelector.Builder |
setDisableAnsi(boolean disableAnsi) |
ScriptPatternSelector.Builder |
setNoConsoleNoAnsi(boolean noConsoleNoAnsi) |
ScriptPatternSelector.Builder |
setProperties(PatternMatch[] properties) |
ScriptPatternSelector.Builder |
setScript(AbstractScript script) |
public ScriptPatternSelector build()
Builder
build
in interface Builder<ScriptPatternSelector>
public ScriptPatternSelector.Builder setScript(AbstractScript script)
public ScriptPatternSelector.Builder setProperties(PatternMatch[] properties)
public ScriptPatternSelector.Builder setDefaultPattern(String defaultPattern)
public ScriptPatternSelector.Builder setAlwaysWriteExceptions(boolean alwaysWriteExceptions)
public ScriptPatternSelector.Builder setDisableAnsi(boolean disableAnsi)
public ScriptPatternSelector.Builder setNoConsoleNoAnsi(boolean noConsoleNoAnsi)
public ScriptPatternSelector.Builder setConfiguration(Configuration config)
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.