Package org.forgerock.audit.rotation
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 theRotationHooks.
-
-
Constructor Summary
Constructors Constructor Description RotationContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetInitialFile()Get the initial file.FilegetNextFile()Get the next file.WritergetWriter()Get the writer.voidsetInitialFile(File initialFile)Set the initial file.voidsetNextFile(File nextFile)Set the next file.voidsetWriter(Writer writer)Set the writer.
-
-
-
Method Detail
-
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.
-
-