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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostRotationAction(RotationContext context) Method to run an action just after file has been rotated.voidpreRotationAction(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:RotationHooksMethod to run an action just after file has been rotated.- Specified by:
postRotationActionin interfaceRotationHooks- Parameters:
context- The rotation context.- Throws:
IOException- If the post action fails.
-
preRotationAction
Description copied from interface:RotationHooksMethod to run an action just before file will be rotated.- Specified by:
preRotationActionin interfaceRotationHooks- Parameters:
context- The rotation context.- Throws:
IOException- If the pre action fails.
-