public interface

ModuleDescriptorPredicate

com.atlassian.plugin.predicate.ModuleDescriptorPredicate<T>
Known Indirect Subclasses

Class Overview

Interface used to match plugin modules according to implementation specific rules.

Summary

Public Methods
abstract boolean matches(ModuleDescriptor<? extends T> moduleDescriptor)

Will match a plugin module according to implementation rules.

Public Methods

public abstract 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 .

Parameters
moduleDescriptor the ModuleDescriptor to test against.
Returns
  • true if the module matches the predicate, false otherwise.