|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.gradle.api.plugins.PluginContainerorg.gradle.api.plugins.PluginCollection
org.gradle.api.DomainObjectCollection
interface PluginContainer extends PluginCollection
A PluginContainer is used to manage a set of org.gradle.api.Plugin instances.
| Method Summary | |
|---|---|
Plugin
|
findPlugin(java.lang.String name)
Returns the plugin for the given name. |
Plugin
|
findPlugin(java.lang.Class type)
Returns the plugin for the given type. |
boolean
|
hasPlugin(java.lang.String name)
Returns true if the container has a plugin with the given name, false otherwise. |
boolean
|
hasPlugin(java.lang.Class type)
Returns true if the container has a plugin with the given type, false otherwise. |
| Methods inherited from interface PluginCollection | |
|---|---|
| allPlugins, allPlugins, getAt, getByName, matching, whenPluginAdded, whenPluginAdded, withType |
| Methods inherited from interface DomainObjectCollection | |
|---|---|
| allObjects, allObjects, findAll, findByName, getAll, getAsMap, getAt, getByName, getByName, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, withType |
| Methods inherited from interface java.lang.Iterable | |
|---|---|
| iterator |
| Methods inherited from class java.lang.Object | |
|---|---|
| hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
| Method Detail |
|---|
public Plugin findPlugin(java.lang.String name)
public Plugin findPlugin(java.lang.Class type)
public boolean hasPlugin(java.lang.String name)
public boolean hasPlugin(java.lang.Class type)
Groovy Documentation