com.atlassian.bamboo.plugin.descriptor.predicate
Class ModuleWithCompleteKeyPredicate<T>

java.lang.Object
  extended by 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>


Constructor Summary
ModuleWithCompleteKeyPredicate(org.hamcrest.Matcher<String> completeKeyMatcher)
           
 
Method Summary
static
<T> ModuleWithCompleteKeyPredicate<T>
inList(Collection<String> whitelist)
           
 boolean matches(com.atlassian.plugin.ModuleDescriptor<? extends T> moduleDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleWithCompleteKeyPredicate

public ModuleWithCompleteKeyPredicate(@NotNull
                                      org.hamcrest.Matcher<String> completeKeyMatcher)
Method Detail

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.