Package org.forgerock.audit.rotation
Class RotationHooks.NoOpRotatationHooks
java.lang.Object
org.forgerock.audit.rotation.RotationHooks.NoOpRotatationHooks
- All Implemented Interfaces:
RotationHooks
- Enclosing interface:
- RotationHooks
RotationHooks
that do nothing.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forgerock.audit.rotation.RotationHooks
RotationHooks.NoOpRotatationHooks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postRotationAction
(RotationContext context) Method to run an action just after file has been rotated.void
preRotationAction
(RotationContext context) Method to run an action just before file will be rotated.
-
Constructor Details
-
NoOpRotatationHooks
public NoOpRotatationHooks()
-
-
Method Details
-
postRotationAction
Description copied from interface:RotationHooks
Method to run an action just after file has been rotated.- Specified by:
postRotationAction
in interfaceRotationHooks
- Parameters:
context
- The rotation context.- Throws:
IOException
- If the post action fails.
-
preRotationAction
Description copied from interface:RotationHooks
Method to run an action just before file will be rotated.- Specified by:
preRotationAction
in interfaceRotationHooks
- Parameters:
context
- The rotation context.- Throws:
IOException
- If the pre action fails.
-