|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.predicate.ModuleDescriptorOfClassPredicate
public class ModuleDescriptorOfClassPredicate
A ModuleDescriptorPredicate that matches modules for which their descriptor is an instance of one of the given Class.
| Constructor Summary | |
|---|---|
ModuleDescriptorOfClassPredicate(java.lang.Class moduleDescriptorClass)
|
|
ModuleDescriptorOfClassPredicate(java.lang.Class[] moduleDescriptorClasses)
|
|
| Method Summary | |
|---|---|
boolean |
matches(ModuleDescriptor 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 ModuleDescriptorOfClassPredicate(java.lang.Class moduleDescriptorClass)
public ModuleDescriptorOfClassPredicate(java.lang.Class[] moduleDescriptorClasses)
java.lang.IllegalArgumentException - if the moduleDescriptorClasses is null| Method Detail |
|---|
public boolean matches(ModuleDescriptor 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 ModuleDescriptorPredicatemoduleDescriptor - 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 | |||||||||