|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.plugins.AbstractGrailsPluginManager org.codehaus.groovy.grails.plugins.MockGrailsPluginManager
public class MockGrailsPluginManager extends AbstractGrailsPluginManager
Field Summary |
---|
Fields inherited from class AbstractGrailsPluginManager | |
---|---|
CONFIG_FILE, application, applicationContext, classNameToPluginMap, failedPlugins, initialised, loadCorePlugins, pluginClasses, pluginList, pluginResources, plugins, shutdown |
Constructor Summary | |
MockGrailsPluginManager(GrailsApplication application)
|
|
MockGrailsPluginManager()
|
Method Summary | |
---|---|
void
|
checkForChanges()
|
void
|
doWebDescriptor(org.springframework.core.io.Resource descriptor, java.io.Writer target)
|
void
|
doWebDescriptor(java.io.File descriptor, java.io.Writer target)
|
void
|
expectCheckForChanges()
|
BuildSettings
|
getBuildSettings()
|
GrailsPlugin
|
getGrailsPlugin(java.lang.String name)
|
GrailsPlugin
|
getGrailsPlugin(java.lang.String name, java.math.BigDecimal version)
|
PluginBuildSettings
|
getPluginBuildSettings()
|
java.util.Collection
|
getPluginObservers(GrailsPlugin plugin)
|
javax.servlet.ServletContext
|
getServletContext()
|
GrailsPlugin[]
|
getUserPlugins()
|
boolean
|
hasGrailsPlugin(java.lang.String name)
|
void
|
informObservers(java.lang.String pluginName, java.util.Map event)
|
boolean
|
isInitialised()
|
void
|
loadPlugins()
|
void
|
refreshPlugin(java.lang.String name)
|
void
|
registerMockPlugin(GrailsPlugin plugin)
|
void
|
setServletContext(javax.servlet.ServletContext servletContext)
|
void
|
verify()
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Constructor Detail |
---|
public MockGrailsPluginManager(GrailsApplication application)
public MockGrailsPluginManager()
Method Detail |
---|
public void checkForChanges()
public void doWebDescriptor(org.springframework.core.io.Resource descriptor, java.io.Writer target)
public void doWebDescriptor(java.io.File descriptor, java.io.Writer target)
public void expectCheckForChanges()
public BuildSettings getBuildSettings()
@Override public GrailsPlugin getGrailsPlugin(java.lang.String name)
public GrailsPlugin getGrailsPlugin(java.lang.String name, @SuppressWarnings("unused") java.math.BigDecimal version)
public PluginBuildSettings getPluginBuildSettings()
public java.util.Collection getPluginObservers(GrailsPlugin plugin)
public javax.servlet.ServletContext getServletContext()
public GrailsPlugin[] getUserPlugins()
@Override public boolean hasGrailsPlugin(java.lang.String name)
// do nothing public void informObservers(java.lang.String pluginName, java.util.Map event)
return true; public boolean isInitialised()
public void loadPlugins()
public void refreshPlugin(java.lang.String name)
public void registerMockPlugin(GrailsPlugin plugin)
public void setServletContext(javax.servlet.ServletContext servletContext)
public void verify()
Groovy Documentation