@TagLib class PluginTagLib extends java.lang.Object
Tags to inspect available plugins.
Type | Name and description |
---|---|
groovy.lang.Closure |
isAvailable Checks whether a particular plugin exists and executes the body if it does. |
groovy.lang.Closure |
isNotAvailable Checks whether a particular plugin does not exist and executes the body if it does. |
static java.lang.String |
namespace |
groovy.lang.Closure |
path Gets the path to a particular plugin. |
GrailsPluginManager |
pluginManager |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Checks whether a particular plugin exists and executes the body if it does.
eg. <plugin:isAvailable name="hibernate">print me</plugin:isAvailable>
Checks whether a particular plugin does not exist and executes the body if it does.
eg. <plugin:isNotAvailable name="hibernate">print me</plugin:isNotAvailable>
Gets the path to a particular plugin.
eg. <plugin:path name="myPlugin" />