@Immutable public final class EventTypeMatcher<T> extends Object implements com.atlassian.webhooks.spi.EventMatcher<T>
Modifier and Type | Method and Description |
---|---|
boolean |
matches(T event,
com.atlassian.webhooks.api.register.listener.WebHookListener listener) |
static <T> EventTypeMatcher<T> |
narrowToSubclasses(Class<? extends T>... acceptedEvents) |
public static <T> EventTypeMatcher<T> narrowToSubclasses(Class<? extends T>... acceptedEvents)
Copyright © 2002-2023 Atlassian. All Rights Reserved.