Class RotationContext

java.lang.Object
org.forgerock.audit.rotation.RotationContext

public class RotationContext extends Object
This class holds some information while a file is being rotated. It will be passed as arguments to the RotationHooks.
  • Constructor Details

    • RotationContext

      public RotationContext()
  • Method Details

    • getInitialFile

      public File getInitialFile()
      Get the initial file.
      Returns:
      The file.
    • setInitialFile

      public void setInitialFile(File initialFile)
      Set the initial file.
      Parameters:
      initialFile - The file.
    • getNextFile

      public File getNextFile()
      Get the next file.
      Returns:
      The file.
    • setNextFile

      public void setNextFile(File nextFile)
      Set the next file.
      Parameters:
      nextFile - The file.
    • getWriter

      public Writer getWriter()
      Get the writer.
      Returns:
      The writer.
    • setWriter

      public void setWriter(Writer writer)
      Set the writer.
      Parameters:
      writer - The writer.