public class EnabledModulePredicate<T> extends java.lang.Object implements ModuleDescriptorPredicate<T>
ModuleDescriptorPredicate that matches enabled modules.| Constructor and Description |
|---|
EnabledModulePredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(ModuleDescriptor<? extends T> moduleDescriptor)
Will match a plugin module according to implementation rules.
|
public 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 © 2013 Atlassian. All Rights Reserved.