Package org.forgerock.audit.rotation
Class RotationContext
java.lang.Object
org.forgerock.audit.rotation.RotationContext
This class holds some information while a file is being rotated. It will be passed as arguments to the
RotationHooks
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the initial file.Get the next file.Get the writer.void
setInitialFile
(File initialFile) Set the initial file.void
setNextFile
(File nextFile) Set the next file.void
Set the writer.
-
Constructor Details
-
RotationContext
public RotationContext()
-
-
Method Details
-
getInitialFile
Get the initial file.- Returns:
- The file.
-
setInitialFile
Set the initial file.- Parameters:
initialFile
- The file.
-
getNextFile
Get the next file.- Returns:
- The file.
-
setNextFile
Set the next file.- Parameters:
nextFile
- The file.
-
getWriter
Get the writer.- Returns:
- The writer.
-
setWriter
Set the writer.- Parameters:
writer
- The writer.
-