Groovy Documentation

org.grails.plugin.platform.config
[Groovy] Interface PluginConfiguration


interface PluginConfiguration

Public interface for the Plugin Configuration API Plugins declare the config they support, the expected types, validators and default values This means they do not have to supply/merge default values into Config.


Method Summary
java.util.List getAllEntries()

Get information about all the declared plugin config variables

groovy.util.ConfigObject getPluginConfig(java.lang.String pluginName)

Return the plugin-specific ConfigObject for the given plugin

groovy.util.ConfigObject getPluginConfigFor(java.lang.Object objectInstance)

Get pluginConfig for any object, determined by the plugin in which is was defined

 

Method Detail

getAllEntries

java.util.List getAllEntries()
Get information about all the declared plugin config variables


getPluginConfig

groovy.util.ConfigObject getPluginConfig(java.lang.String pluginName)
Return the plugin-specific ConfigObject for the given plugin
Parameters:
pluginName - the BEAN notation name of the plugin e.g. beanFields


getPluginConfigFor

groovy.util.ConfigObject getPluginConfigFor(java.lang.Object objectInstance)
Get pluginConfig for any object, determined by the plugin in which is was defined


 

Groovy Documentation