net.commerce.zocalo.experiment.config
Class ConfigEditor

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.commerce.zocalo.JspSupport.ReloadablePage
              extended by net.commerce.zocalo.experiment.config.ConfigEditor
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ConfigEditor
extends ReloadablePage

Controller for editing configuration parameters for an experiment.

See Also:
Serialized Form

Field Summary
 java.lang.String CONFIG_JSP
           
static java.lang.String SAVE_COMMAND
           
static java.lang.String UPDATE_COMMAND
           
 
Constructor Summary
ConfigEditor()
           
 
Method Summary
 ExperimentConfig getConfig()
           
 java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
           
 void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 java.lang.String renderProperties()
           
 void warn(java.lang.String s)
           
 
Methods inherited from class net.commerce.zocalo.JspSupport.ReloadablePage
addCookiesToResponse, beginTransaction, commitTransaction, doGet, doPost, redirectResult, redirectResult
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_JSP

public final java.lang.String CONFIG_JSP
See Also:
Constant Field Values

UPDATE_COMMAND

public static final java.lang.String UPDATE_COMMAND
See Also:
Constant Field Values

SAVE_COMMAND

public static final java.lang.String SAVE_COMMAND
See Also:
Constant Field Values
Constructor Detail

ConfigEditor

public ConfigEditor()
Method Detail

warn

public void warn(java.lang.String s)
Specified by:
warn in class ReloadablePage

processRequest

public void processRequest(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
Specified by:
processRequest in class ReloadablePage

getRequestURL

public java.lang.String getRequestURL(javax.servlet.http.HttpServletRequest request)
Specified by:
getRequestURL in class ReloadablePage

renderProperties

public java.lang.String renderProperties()

getConfig

public ExperimentConfig getConfig()