info.magnolia.module.groovy.console
Class MgnlGroovyInteractiveConsole
java.lang.Object
info.magnolia.cms.servlets.MVCServletHandlerImpl
info.magnolia.cms.servlets.CommandBasedMVCServletHandler
info.magnolia.module.admininterface.PageMVCHandler
info.magnolia.module.admininterface.TemplatedMVCHandler
info.magnolia.module.groovy.console.MgnlGroovyInteractiveConsole
- All Implemented Interfaces:
- info.magnolia.cms.servlets.MVCServletHandler
public class MgnlGroovyInteractiveConsole
- extends info.magnolia.module.admininterface.TemplatedMVCHandler
The server-side implementation of the *nix-like Magnolia Groovy console.
- Version:
- $Id$
- Author:
- fgrilli
Fields inherited from class info.magnolia.module.admininterface.PageMVCHandler |
COMMAND_PARAMETER_NAME, COMMAND_SHOW, VIEW_SHOW |
Fields inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
exception, request, response, VIEW_ERROR, VIEW_SUCCESS |
Fields inherited from interface info.magnolia.cms.servlets.MVCServletHandler |
VIEW_NOTHING |
Methods inherited from class info.magnolia.module.admininterface.TemplatedMVCHandler |
getTemplateName, renderHtml |
Methods inherited from class info.magnolia.module.admininterface.PageMVCHandler |
getForm, getI18nBasename, getMsgs, getParams, init, setForm, setI18nBasename, setMsgs, setParams, show |
Methods inherited from class info.magnolia.cms.servlets.CommandBasedMVCServletHandler |
execute, findCommand, getCatalogueName, getCommandContext, getViewNameAfterExecution, setCatalogueName |
Methods inherited from class info.magnolia.cms.servlets.MVCServletHandlerImpl |
getCommand, getException, getExceptionStackTrace, getName, getRequest, getResponse, populateFromRequest, setCommand, setRequest, setResponse |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MgnlGroovyInteractiveConsole
public MgnlGroovyInteractiveConsole(String name,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
clean
public String clean()
throws Exception
- Throws:
Exception
evaluateGroovy
public String evaluateGroovy()
throws Exception
- Throws:
Exception
getGroovyVersion
public String getGroovyVersion()
isAuthorized
protected boolean isAuthorized(info.magnolia.cms.security.User currentUser)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.