# Interface PluginRequest

public interface PluginRequest
Contains information about a plugin that has been requested for resolution.

Since:
  3.5

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PluginId`
  `getId()`
  The ID of the plugin requested.
  `@Nullable ModuleVersionSelector`
  `getModule()`
  The implementation module of the plugin if one was explicitly specified, otherwise null.
  `@Nullable ComponentSelector`
  `getSelector()`
  A selector for the implementation of the plugin if one was explicitly specified, otherwise null.
  `@Nullable String`
  `getVersion()`
  The version of the plugin if one was specified, otherwise null.

- ## Method Details

  - ### getId

    PluginId getId()
    The ID of the plugin requested. Never null.
    Since:
      3.5

  - ### getVersion

    @Nullable String getVersion()
    The version of the plugin if one was specified, otherwise null.
    Since:
      3.5

  - ### getModule

    @Nullable ModuleVersionSelector getModule()
    The implementation module of the plugin if one was explicitly specified, otherwise null.

    Prefer `getSelector()`.

    Since:
      3.5

  - ### getSelector

    @Nullable ComponentSelector getSelector()
    A selector for the implementation of the plugin if one was explicitly specified, otherwise null.
    Since:
      9.3.0