Schnittstelle PluginResolveDetails


public interface PluginResolveDetails
Allows plugin resolution rules to inspect a requested plugin and modify which target plugin will be used.
Seit:
3.5
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Get the plugin that was requested.
    The target plugin request to use.
    void
    useModule(Object notation)
    Sets the implementation module to use for this plugin.
    void
    useVersion(String version)
    Sets the version of the plugin to use.
  • Methodendetails

    • getRequested

      PluginRequest getRequested()
      Get the plugin that was requested.
    • useModule

      void useModule(Object notation)
      Sets the implementation module to use for this plugin.
      Parameter:
      notation - the module to use, supports the same notations as DependencyHandler
    • useVersion

      void useVersion(@Nullable String version)
      Sets the version of the plugin to use.
      Parameter:
      version - version to use
    • getTarget

      PluginRequest getTarget()
      The target plugin request to use.