Class HasMatchingNotificationRule
- java.lang.Object
-
- org.hamcrest.BaseMatcher<T>
-
- org.hamcrest.TypeSafeMatcher<NotificationRule>
-
- 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
static org.hamcrest.Matcher<NotificationRule>
hasMatchingNotificationRule(@NotNull NotificationManager notificationManager, @NotNull Class<? extends NotificationType> notificationTypeClass, @NotNull Class<? extends NotificationRecipient> recipientTypeClass, @Nullable String recipientString)
static org.hamcrest.Matcher<NotificationRule>
hasMatchingNotificationRule(@NotNull NotificationManager notificationManager, @NotNull Class<? extends NotificationType> notificationTypeClass, @Nullable String conditionData, @NotNull Class<? extends NotificationRecipient> recipientTypeClass, @Nullable String recipientString)
boolean
matchesSafely(NotificationRule notificationRule)
-
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
-
-
-
-
Method Detail
-
matchesSafely
public boolean matchesSafely(NotificationRule notificationRule)
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<NotificationRule>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
hasMatchingNotificationRule
public static org.hamcrest.Matcher<NotificationRule> hasMatchingNotificationRule(@NotNull @NotNull NotificationManager notificationManager, @NotNull @NotNull Class<? extends NotificationType> notificationTypeClass, @Nullable @Nullable String conditionData, @NotNull @NotNull Class<? extends NotificationRecipient> recipientTypeClass, @Nullable @Nullable String recipientString)
-
hasMatchingNotificationRule
public static org.hamcrest.Matcher<NotificationRule> hasMatchingNotificationRule(@NotNull @NotNull NotificationManager notificationManager, @NotNull @NotNull Class<? extends NotificationType> notificationTypeClass, @NotNull @NotNull Class<? extends NotificationRecipient> recipientTypeClass, @Nullable @Nullable String recipientString)
-
-