public class EnabledModulePredicate<T> extends Object implements ModuleDescriptorPredicate<T>
ModuleDescriptorPredicate that matches enabled modules.| Constructor and Description |
|---|
EnabledModulePredicate(PluginAccessor pluginAccessor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(ModuleDescriptor<? extends T> moduleDescriptor)
Will match a plugin module according to implementation rules.
|
public EnabledModulePredicate(PluginAccessor pluginAccessor)
IllegalArgumentException - if pluginAccessor is nullpublic boolean matches(ModuleDescriptor<? extends T> moduleDescriptor)
ModuleDescriptorPredicateWill match a plugin module according to implementation rules.
This method must not change the state of the module nor its plugin .
matches in interface ModuleDescriptorPredicate<T>moduleDescriptor - the ModuleDescriptor to test against.true if the module matches the predicate, false otherwise.Copyright © 2014 Atlassian. All rights reserved.