com.atlassian.confluence.plugin
Class CompositeModuleDescriptorPredicate<T>

java.lang.Object
  extended by com.atlassian.confluence.plugin.CompositeModuleDescriptorPredicate<T>
All Implemented Interfaces:
com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>

public class CompositeModuleDescriptorPredicate<T>
extends Object
implements com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>

Composite plugin module predicates. Applies a number of predicates in order (boolean AND) to determine if the plugin module matches.


Constructor Summary
CompositeModuleDescriptorPredicate(List<com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>> predicates)
           
CompositeModuleDescriptorPredicate(com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>... predicates)
           
 
Method Summary
 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

CompositeModuleDescriptorPredicate

public CompositeModuleDescriptorPredicate(com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>... predicates)

CompositeModuleDescriptorPredicate

public CompositeModuleDescriptorPredicate(List<com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>> predicates)
Method Detail

matches

public boolean matches(com.atlassian.plugin.ModuleDescriptor<? extends T> moduleDescriptor)
Specified by:
matches in interface com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>


Copyright © 2003–2015 Atlassian. All rights reserved.