Class AbstractFileAppender.Builder<B extends AbstractFileAppender.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.AbstractFileAppender.Builder<B>
- Type Parameters:
B
- The type to build
- Enclosing class:
- AbstractFileAppender<M extends OutputStreamManager>
public abstract static class AbstractFileAppender.Builder<B extends AbstractFileAppender.Builder<B>>
extends AbstractOutputStreamAppender.Builder<B>
Builds FileAppender instances.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
isAppend()
boolean
boolean
withAdvertise
(boolean advertise) withAdvertiseUri
(String advertiseUri) withAppend
(boolean append) withCreateOnDemand
(boolean createOnDemand) withFileGroup
(String fileGroup) withFileName
(String fileName) withFileOwner
(String fileOwner) withFilePermissions
(String filePermissions) withLocking
(boolean locking) Methods inherited from class org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder
getBufferSize, isBufferedIo, isImmediateFlush, setBufferedIo, setBufferSize, setImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
Methods inherited from class org.apache.logging.log4j.core.appender.AbstractAppender.Builder
getConfiguration, getErrorPrefix, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
Methods inherited from class org.apache.logging.log4j.core.filter.AbstractFilterable.Builder
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getAdvertiseUri
-
getFileName
-
isAdvertise
public boolean isAdvertise() -
isAppend
public boolean isAppend() -
isCreateOnDemand
public boolean isCreateOnDemand() -
isLocking
public boolean isLocking() -
getFilePermissions
-
getFileOwner
-
getFileGroup
-
withAdvertise
-
withAdvertiseUri
-
withAppend
-
withFileName
-
withCreateOnDemand
-
withLocking
-
withFilePermissions
-
withFileOwner
-
withFileGroup
-