|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.predicate.ModuleOfClassPredicate<T>
public class ModuleOfClassPredicate<T>
A ModuleDescriptorPredicate that matches modules that are is an instance of the given Class.
| Constructor Summary | |
|---|---|
ModuleOfClassPredicate(java.lang.Class<T> moduleClass)
|
|
| 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 ModuleOfClassPredicate(java.lang.Class<T> moduleClass)
java.lang.IllegalArgumentException - if the moduleClass 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 | |||||||||