Package org.forgerock.audit.rotation
Class RotationHooks.NoOpRotatationHooks
- java.lang.Object
-
- org.forgerock.audit.rotation.RotationHooks.NoOpRotatationHooks
-
- All Implemented Interfaces:
RotationHooks
- Enclosing interface:
- RotationHooks
public static class RotationHooks.NoOpRotatationHooks extends Object implements RotationHooks
RotationHooksthat do nothing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.forgerock.audit.rotation.RotationHooks
RotationHooks.NoOpRotatationHooks
-
-
Constructor Summary
Constructors Constructor Description NoOpRotatationHooks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostRotationAction(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.
-
-
-
Method Detail
-
postRotationAction
public void postRotationAction(RotationContext context) throws IOException
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
public void preRotationAction(RotationContext context) throws IOException
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.
-
-