public class ExtensionModuleRegistry
extends java.lang.Object
In previous Groovy versions, such methods could only be defined in a single class called DefaultGroovyMethods
for instance methods, and DefaultGroovyStaticMethods
for static methods.
Constructor and Description |
---|
ExtensionModuleRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addModule(ExtensionModule module) |
ExtensionModule |
getModule(java.lang.String moduleName) |
java.util.List<ExtensionModule> |
getModules() |
boolean |
hasModule(java.lang.String moduleName) |
void |
removeModule(ExtensionModule module) |
public void addModule(ExtensionModule module)
public void removeModule(ExtensionModule module)
public java.util.List<ExtensionModule> getModules()
public boolean hasModule(java.lang.String moduleName)
public ExtensionModule getModule(java.lang.String moduleName)