Package net.reevik.shade
Class NoopMonitoringImpl
java.lang.Object
net.reevik.shade.NoopMonitoringImpl
- All Implemented Interfaces:
Monitorable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onRoute()
The method will get triggered whenever the request is routed to the new endpoint.void
onStay()
The method will get triggered whenever the request is routed to the old endpoint.void
onValidationError
(ValidationResult validationResult) The method will get triggered on validation error.void
onValidationSuccess
(ValidationResult validationResult) The method will get triggered on validation success.
-
Constructor Details
-
NoopMonitoringImpl
public NoopMonitoringImpl()
-
-
Method Details
-
onValidationError
Description copied from interface:Monitorable
The method will get triggered on validation error.- Specified by:
onValidationError
in interfaceMonitorable
- Parameters:
validationResult
- An instance contains information about validation.
-
onValidationSuccess
Description copied from interface:Monitorable
The method will get triggered on validation success.- Specified by:
onValidationSuccess
in interfaceMonitorable
- Parameters:
validationResult
- An instance contains information about validation.
-
onRoute
public void onRoute()Description copied from interface:Monitorable
The method will get triggered whenever the request is routed to the new endpoint.- Specified by:
onRoute
in interfaceMonitorable
-
onStay
public void onStay()Description copied from interface:Monitorable
The method will get triggered whenever the request is routed to the old endpoint.- Specified by:
onStay
in interfaceMonitorable
-