Class FileAppender.Builder<B extends FileAppender.Builder<B>>

Type Parameters:
B - The type to build
All Implemented Interfaces:
Builder<FileAppender>
Enclosing class:
FileAppender

public static class FileAppender.Builder<B extends FileAppender.Builder<B>> extends AbstractOutputStreamAppender.Builder<B> implements Builder<FileAppender>
Builds FileAppender instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public FileAppender build()
      Description copied from interface: Builder
      Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
      Specified by:
      build in interface Builder<B extends FileAppender.Builder<B>>
      Returns:
      the configured instance.
    • getAdvertiseUri

      public String getAdvertiseUri()
    • getFileName

      public String getFileName()
    • isAdvertise

      public boolean isAdvertise()
    • isAppend

      public boolean isAppend()
    • isCreateOnDemand

      public boolean isCreateOnDemand()
    • isLocking

      public boolean isLocking()
    • getFilePermissions

      public String getFilePermissions()
    • getFileOwner

      public String getFileOwner()
    • getFileGroup

      public String getFileGroup()
    • withAdvertise

      public B withAdvertise(boolean advertise)
    • withAdvertiseUri

      public B withAdvertiseUri(String advertiseUri)
    • withAppend

      public B withAppend(boolean append)
    • withFileName

      public B withFileName(String fileName)
    • withCreateOnDemand

      public B withCreateOnDemand(boolean createOnDemand)
    • withLocking

      public B withLocking(boolean locking)
    • withFilePermissions

      public B withFilePermissions(String filePermissions)
    • withFileOwner

      public B withFileOwner(String fileOwner)
    • withFileGroup

      public B withFileGroup(String fileGroup)