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
RotationHooks
that 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 void
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.
-
-
-
Method Detail
-
postRotationAction
public void postRotationAction(RotationContext context) throws IOException
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
public void preRotationAction(RotationContext context) throws IOException
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.
-
-