Interface ModuleDescriptorPredicate<T>


@Deprecated public interface ModuleDescriptorPredicate<T>
Deprecated.
since 5.0 for removal in 6.0
Interface used to match plugin modules according to implementation specific rules.
Since:
0.17
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(ModuleDescriptor<? extends T> moduleDescriptor)
    Deprecated.
    Will match a plugin module according to implementation rules.
  • Method Details

    • matches

      boolean matches(ModuleDescriptor<? extends T> moduleDescriptor)
      Deprecated.
      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.