|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.predicate.EnabledModulePredicate<T>
public class EnabledModulePredicate<T>
A ModuleDescriptorPredicate that matches enabled modules.
| Constructor Summary | |
|---|---|
EnabledModulePredicate(PluginAccessor pluginAccessor)
|
|
| Method Summary | |
|---|---|
boolean |
matches(ModuleDescriptor<? extends T> moduleDescriptor)
Will match a plugin module according to implementation rules. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnabledModulePredicate(PluginAccessor pluginAccessor)
java.lang.IllegalArgumentException - if pluginAccessor is null| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||