Package org.forgerock.audit.rotation
Interface RotationPolicy
- All Known Implementing Classes:
 FixedTimeRotationPolicy,SizeBasedRotationPolicy,TimeLimitRotationPolicy
public interface RotationPolicy
Interface to decide if a file should be rotated or not.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method indicates if the log file should be rotated or not. 
- 
Method Details
- 
shouldRotateFile
This method indicates if the log file should be rotated or not.- Parameters:
 file- The file to be checked.- Returns:
 - True if the log file should be rotated, false otherwise.
 
 
 -