com.atlassian.bamboo.matcher.notification
Class HasMatchingNotificationRule

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<NotificationRule>
          extended by com.atlassian.bamboo.matcher.notification.HasMatchingNotificationRule
All Implemented Interfaces:
org.hamcrest.Matcher<NotificationRule>, org.hamcrest.SelfDescribing

public class HasMatchingNotificationRule
extends org.hamcrest.TypeSafeMatcher<NotificationRule>


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.Matcher<NotificationRule> hasMatchingNotificationRule(NotificationManager notificationManager, java.lang.Class<? extends NotificationType> notificationTypeClass, java.lang.Class<? extends NotificationRecipient> recipientTypeClass, java.lang.String recipientString)
           
static org.hamcrest.Matcher<NotificationRule> hasMatchingNotificationRule(NotificationManager notificationManager, java.lang.Class<? extends NotificationType> notificationTypeClass, java.lang.String conditionData, java.lang.Class<? extends NotificationRecipient> recipientTypeClass, java.lang.String recipientString)
           
 boolean matchesSafely(NotificationRule notificationRule)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matchesSafely

public boolean matchesSafely(NotificationRule notificationRule)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<NotificationRule>

describeTo

public void describeTo(org.hamcrest.Description description)

hasMatchingNotificationRule

public static org.hamcrest.Matcher<NotificationRule> hasMatchingNotificationRule(@NotNull
                                                                                 NotificationManager notificationManager,
                                                                                 @NotNull
                                                                                 java.lang.Class<? extends NotificationType> notificationTypeClass,
                                                                                 @Nullable
                                                                                 java.lang.String conditionData,
                                                                                 @NotNull
                                                                                 java.lang.Class<? extends NotificationRecipient> recipientTypeClass,
                                                                                 @Nullable
                                                                                 java.lang.String recipientString)

hasMatchingNotificationRule

public static org.hamcrest.Matcher<NotificationRule> hasMatchingNotificationRule(@NotNull
                                                                                 NotificationManager notificationManager,
                                                                                 @NotNull
                                                                                 java.lang.Class<? extends NotificationType> notificationTypeClass,
                                                                                 @NotNull
                                                                                 java.lang.Class<? extends NotificationRecipient> recipientTypeClass,
                                                                                 @Nullable
                                                                                 java.lang.String recipientString)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.