| 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.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.plugin.predicate.ModuleDescriptorPredicate
|
abstract
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
ModuleDescriptorOfClassPredicate
(Class[]<? extends ModuleDescriptor<? extends T>> moduleDescriptorClasses)
Throws
| IllegalArgumentException
| if the moduleDescriptorClasses is null
|
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.