GrailsPluginInfo (Grails 5.2.5)

Package: grails.plugins

## [Java] Interface GrailsPluginInfo

-     public interface GrailsPluginInfo

  Base interface that just contains information about a particular plugin.

  Authors:
    Graeme Rocher
  Since:
    1.3

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Resource` | `getDescriptor()` Returns the location of the Resource that represents the plugin descriptor (the *GrailsPlugin.groovy file)
    `` | `public java.lang.String` | `getFullName()` Returns: The full name of the plugin including version
    `` | `public java.lang.String` | `getName()` Returns: The name of the plug-in
    `` | `public Resource` | `getPluginDir()` Returns: The directory where the plugin exists or null if it cannot be read
    `` | `public java.util.Map` | `getProperties()` Gets the properties of the plugin as a map
    `` | `public java.lang.String` | `getVersion()` Returns: The version of the plug-in

- - ### Method Detail

    - #### public Resource getDescriptor()

      Returns the location of the Resource that represents the plugin descriptor (the *GrailsPlugin.groovy file)

      Returns:
        The resource

    - #### public java.lang.String getFullName()

      Returns:
        The full name of the plugin including version

    - #### public java.lang.String getName()

      Returns:
        The name of the plug-in

    - #### public Resource getPluginDir()

      Returns:
        The directory where the plugin exists or null if it cannot be read

    - #### @java.lang.SuppressWarnings("rawtypes") public java.util.Map getProperties()

      Gets the properties of the plugin as a map

      Returns:
        A map of the properties

    - #### public java.lang.String getVersion()

      Returns:
        The version of the plug-in