| java.lang.Object |
| ↳ |
com.atlassian.plugin.predicate.ModuleDescriptorOfClassPredicate<T> |
Known Direct Subclasses
|
Class Overview
A ModuleDescriptorPredicate that matches modules for which their descriptor is an instance of one of the given Class.
Summary
| Public Methods |
|
boolean
|
matches(ModuleDescriptor<? extends T> moduleDescriptor)
Will match a plugin module according to implementation rules.
|
Public Constructors
public
ModuleDescriptorOfClassPredicate
(Class<? extends ModuleDescriptor<? extends T>> moduleDescriptorClass)
Public Methods
public
boolean
matches
(ModuleDescriptor<? extends T> moduleDescriptor)
Will match a plugin module according to implementation rules.
This method must not change the state of the module nor its plugin .
Returns
true if the module matches the predicate, false otherwise.