003bea90a4e67c15fca557c96fcd2665c23f90cc
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Merge Attribute | 1 | ||
| Merge Attribute [alarmCallbackConfigurationService : AlarmCallbackConfigurationService, alarmCallbackFactory : AlarmCallbackFactory, alarmCallbackHistoryService : AlarmCallbackHistoryService] to alertNotificationsSender : AlertNotificationsSender in class org.graylog2.alerts.AlertScannerTest | From | To | |
| Rename Method | 2 | ||
| Rename Method public testCheckIfNotInGracePeriodWithNegativeResult() : void renamed to public testCheckWithNegativeResult() : void in class org.graylog2.alerts.AlertScannerTest | From | To | |
| Rename Method public testNoCheckForGracePeriod() : void renamed to public testNoCheckWhileInGracePeriod() : void in class org.graylog2.alerts.AlertScannerTest | From | To | |
| Move And Rename Method | 2 | ||
| Move And Rename Method private handleTriggeredCheckResult(result AlertCondition.CheckResult, stream Stream, alertCondition AlertCondition) : Alert from class org.graylog2.alerts.AlertScanner to public send(result AlertCondition.CheckResult, stream Stream, alert Alert, alertCondition AlertCondition) : void from class org.graylog2.alerts.AlertNotificationsSender | From | To | |
| Move And Rename Method public testCheckIfNotInGracePeriodWIthPositiveResult() : void from class org.graylog2.alerts.AlertScannerTest to public executeStreamWithNotifications() : void from class org.graylog2.alerts.AlertNotificationsSenderTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Alert to void in method public send(result AlertCondition.CheckResult, stream Stream, alert Alert, alertCondition AlertCondition) : void in class org.graylog2.alerts.AlertNotificationsSender | From | To | |
| Move Attribute | 6 | ||
| Move Attribute private alarmCallbackConfigurationService : AlarmCallbackConfigurationService from class org.graylog2.alerts.AlertScanner to private alarmCallbackConfigurationService : AlarmCallbackConfigurationService from class org.graylog2.alerts.AlertNotificationsSender | From | To | |
| Move Attribute private alarmCallbackHistoryService : AlarmCallbackHistoryService from class org.graylog2.alerts.AlertScannerTest to private alarmCallbackHistoryService : AlarmCallbackHistoryService from class org.graylog2.alerts.AlertNotificationsSenderTest | From | To | |
| Move Attribute private alarmCallbackFactory : AlarmCallbackFactory from class org.graylog2.alerts.AlertScanner to private alarmCallbackFactory : AlarmCallbackFactory from class org.graylog2.alerts.AlertNotificationsSender | From | To | |
| Move Attribute private alarmCallbackHistoryService : AlarmCallbackHistoryService from class org.graylog2.alerts.AlertScanner to private alarmCallbackHistoryService : AlarmCallbackHistoryService from class org.graylog2.alerts.AlertNotificationsSender | From | To | |
| Move Attribute private alarmCallbackConfigurationService : AlarmCallbackConfigurationService from class org.graylog2.alerts.AlertScannerTest to private alarmCallbackConfigurationService : AlarmCallbackConfigurationService from class org.graylog2.alerts.AlertNotificationsSenderTest | From | To | |
| Move Attribute private alarmCallbackFactory : AlarmCallbackFactory from class org.graylog2.alerts.AlertScannerTest to private alarmCallbackFactory : AlarmCallbackFactory from class org.graylog2.alerts.AlertNotificationsSenderTest | From | To | |
| Extract Class | 2 | ||
| Extract Class org.graylog2.alerts.AlertNotificationsSenderTest from class org.graylog2.alerts.AlertScannerTest | From | To | |
| Extract Class org.graylog2.alerts.AlertNotificationsSender from class org.graylog2.alerts.AlertScanner | From | To |