public class ExtensionModuleRegistry extends 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(String moduleName) |
List<ExtensionModule> |
getModules() |
boolean |
hasModule(String moduleName) |
void |
removeModule(ExtensionModule module) |
public void addModule(ExtensionModule module)
public void removeModule(ExtensionModule module)
public List<ExtensionModule> getModules()
public boolean hasModule(String moduleName)
public ExtensionModule getModule(String moduleName)