Class RollingRandomAccessFileAppender.Builder<B extends RollingRandomAccessFileAppender.Builder<B>>
java.lang.Object
org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B>
org.apache.logging.log4j.core.appender.AbstractAppender.Builder<B>
org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder<B>
org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppender.Builder<B>
- All Implemented Interfaces:
Builder<RollingRandomAccessFileAppender>
- Enclosing class:
RollingRandomAccessFileAppender
public static class RollingRandomAccessFileAppender.Builder<B extends RollingRandomAccessFileAppender.Builder<B>>
extends AbstractOutputStreamAppender.Builder<B>
implements Builder<RollingRandomAccessFileAppender>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Stringprivate booleanprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate TriggeringPolicyprivate RolloverStrategy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object after all configuration has been set.withAdvertise(boolean advertise) withAdvertiseURI(String advertiseURI) withAppend(boolean append) withFileGroup(String fileGroup) withFileName(String fileName) withFileOwner(String fileOwner) withFilePattern(String filePattern) withFilePermissions(String filePermissions) withPolicy(TriggeringPolicy policy) withStrategy(RolloverStrategy strategy) Methods inherited from class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
getBufferSize, isBufferedIo, isImmediateFlush, setBufferedIo, setBufferSize, setImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlushMethods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withNameMethods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
-
Field Details
-
fileName
-
filePattern
-
append
-
policy
-
strategy
-
advertise
-
advertiseURI
-
filePermissions
-
fileOwner
-
fileGroup
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from interface:BuilderBuilds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.- Specified by:
buildin interfaceBuilder<B extends RollingRandomAccessFileAppender.Builder<B>>- Returns:
- the configured instance.
-
withFileName
-
withFilePattern
-
withAppend
-
withPolicy
-
withStrategy
-
withAdvertise
-
withAdvertiseURI
-
withFilePermissions
-
withFileOwner
-
withFileGroup
-