public class ModuleWithCompleteKeyPredicate<T> extends Object implements com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>
| Constructor and Description |
|---|
ModuleWithCompleteKeyPredicate(org.hamcrest.Matcher<String> completeKeyMatcher) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ModuleWithCompleteKeyPredicate<T> |
inList(Collection<String> whitelist) |
boolean |
matches(com.atlassian.plugin.ModuleDescriptor<? extends T> moduleDescriptor) |
public ModuleWithCompleteKeyPredicate(@NotNull
org.hamcrest.Matcher<String> completeKeyMatcher)
public boolean matches(com.atlassian.plugin.ModuleDescriptor<? extends T> moduleDescriptor)
matches in interface com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>public static <T> ModuleWithCompleteKeyPredicate<T> inList(@NotNull Collection<String> whitelist)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.