GrailsPluginInfo (Grails 3.2.6)
Date: 2017-02-09

Package: grails.plugins

## [Java] Interface GrailsPluginInfo

- Base interface that just contains information about a particular plugin.

  Authors:
    Graeme Rocher
  Since:
    1.3

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `java.lang.String` | `NAME` | The name of the plugin
    `java.lang.String` | `TRAILING_NAME` | Defines the convention that appears within plugin class names
    `java.lang.String` | `VERSION` | Defines the name of the property that specifies the plugin version

  - ### Methods Summary

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

- - ### Field Detail

    - #### public java.lang.String NAME

      The name of the plugin

    - #### public java.lang.String TRAILING_NAME

      Defines the convention that appears within plugin class names

    - #### public java.lang.String VERSION

      Defines the name of the property that specifies the plugin version

  - ### 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