B
- The type to buildpublic abstract static class AbstractFileAppender.Builder<B extends AbstractFileAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
String |
getAdvertiseUri() |
String |
getFileGroup() |
String |
getFileName() |
String |
getFileOwner() |
String |
getFilePermissions() |
boolean |
isAdvertise() |
boolean |
isAppend() |
boolean |
isCreateOnDemand() |
boolean |
isLocking() |
B |
withAdvertise(boolean advertise) |
B |
withAdvertiseUri(String advertiseUri) |
B |
withAppend(boolean append) |
B |
withCreateOnDemand(boolean createOnDemand) |
B |
withFileGroup(String fileGroup) |
B |
withFileName(String fileName) |
B |
withFileOwner(String fileOwner) |
B |
withFilePermissions(String filePermissions) |
B |
withLocking(boolean locking) |
getBufferSize, isBufferedIo, isImmediateFlush, withBufferedIo, withBufferSize, withImmediateFlush
getConfiguration, getLayout, getName, getOrCreateLayout, getOrCreateLayout, isIgnoreExceptions, setConfiguration, setIgnoreExceptions, setLayout, setName, withConfiguration, withIgnoreExceptions, withLayout, withName
asBuilder, getFilter, getPropertyArray, setFilter, setPropertyArray, withFilter
public Builder()
public String getAdvertiseUri()
public String getFileName()
public boolean isAdvertise()
public boolean isAppend()
public boolean isCreateOnDemand()
public boolean isLocking()
public String getFilePermissions()
public String getFileOwner()
public String getFileGroup()
public B withAdvertise(boolean advertise)
public B withAdvertiseUri(String advertiseUri)
public B withAppend(boolean append)
public B withFileName(String fileName)
public B withCreateOnDemand(boolean createOnDemand)
public B withLocking(boolean locking)
public B withFilePermissions(String filePermissions)
public B withFileOwner(String fileOwner)
public B withFileGroup(String fileGroup)
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.