Interface MavenPluginPrerequisitesChecker

  • All Superinterfaces:
    java.util.function.Consumer<org.apache.maven.plugin.descriptor.PluginDescriptor>
    All Known Implementing Classes:
    MavenPluginJavaPrerequisiteChecker, MavenPluginMavenPrerequisiteChecker
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface MavenPluginPrerequisitesChecker
    extends java.util.function.Consumer<org.apache.maven.plugin.descriptor.PluginDescriptor>
    Service responsible for checking if plugin's prerequisites are met.
    Since:
    3.9.12
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void accept​(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)  
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Method Detail

      • accept

        void accept​(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
        Specified by:
        accept in interface java.util.function.Consumer<org.apache.maven.plugin.descriptor.PluginDescriptor>
        Parameters:
        pluginDescriptor - the plugin descriptor to check
        Throws:
        java.lang.IllegalStateException - in case the checked prerequisites are not met