com.atlassian.bamboo.plugin.descriptor.predicate
Class ModuleWithCompleteKeyPredicate<T>
java.lang.Object
com.atlassian.bamboo.plugin.descriptor.predicate.ModuleWithCompleteKeyPredicate<T>
- All Implemented Interfaces:
- com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>
public class ModuleWithCompleteKeyPredicate<T>
- extends Object
- implements com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleWithCompleteKeyPredicate
public ModuleWithCompleteKeyPredicate(@NotNull
org.hamcrest.Matcher<String> completeKeyMatcher)
matches
public boolean matches(com.atlassian.plugin.ModuleDescriptor<? extends T> moduleDescriptor)
- Specified by:
matches
in interface com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>
inList
public static <T> ModuleWithCompleteKeyPredicate<T> inList(@NotNull
Collection<String> whitelist)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.