@Test public void notifcationServiceCanHandleHipChatSubscription() { assertThat(notificationService.canHandle(SubscriptionType.HIPCHAT), is(true)); }
@Override public boolean canHandle(SubscriptionType subscriptionType) { return subscriptionType == SubscriptionType.HIPCHAT; }
HipChatNotificationService implements NotificationService { @Override public boolean canHandle(SubscriptionType subscriptionType) { return subscriptionType == SubscriptionType.HIPCHAT; } }
HipChatNotificationService implements NotificationService { @Override public boolean canHandle(SubscriptionType subscriptionType) { return subscriptionType == SubscriptionType.HIPCHAT; } @Inject  HipChatNotificationService(SeyrenConfig seyrenConfig); protected  HipChatNotificationService(SeyrenConfig seyrenConfig, String baseUrl); }
HipChatNotificationService implements NotificationService { @Override public boolean canHandle(SubscriptionType subscriptionType) { return subscriptionType == SubscriptionType.HIPCHAT; } @Inject  HipChatNotificationService(SeyrenConfig seyrenConfig); protected  HipChatNotificationService(SeyrenConfig seyrenConfig, String baseUrl); @Override void sendNotification(Check check, Subscription subscription, List<Alert> alerts); @Override boolean canHandle(SubscriptionType subscriptionType); }
HipChatNotificationService implements NotificationService { @Override public boolean canHandle(SubscriptionType subscriptionType) { return subscriptionType == SubscriptionType.HIPCHAT; } @Inject  HipChatNotificationService(SeyrenConfig seyrenConfig); protected  HipChatNotificationService(SeyrenConfig seyrenConfig, String baseUrl); @Override void sendNotification(Check check, Subscription subscription, List<Alert> alerts); @Override boolean canHandle(SubscriptionType subscriptionType);  }