# Class JavaGradlePluginPlugin.PluginDescriptorCollectorAction

java.lang.Object
org.gradle.plugin.devel.plugins.JavaGradlePluginPlugin.PluginDescriptorCollectorAction

All Implemented Interfaces:
  `Action<FileCopyDetails>`

Enclosing class:
  `JavaGradlePluginPlugin`

static class JavaGradlePluginPlugin.PluginDescriptorCollectorAction extends Object implements Action<FileCopyDetails>
A file copy action that collects plugin descriptors as they are added to the jar.

Since:
  2.2

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PluginDescriptorCollectorAction(JavaGradlePluginPlugin.PluginValidationActionsState actionsState)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `execute(FileCopyDetails fileCopyDetails)`
  Performs this action against the given object.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PluginDescriptorCollectorAction

    PluginDescriptorCollectorAction(JavaGradlePluginPlugin.PluginValidationActionsState actionsState)

- ## Method Details

  - ### execute

    public void execute(FileCopyDetails fileCopyDetails)
    Description copied from interface: `Action`
    Performs this action against the given object.
    Specified by:
      `execute` in interface `Action<FileCopyDetails>`
    Parameters:
      `fileCopyDetails` - The object to perform the action on.