Class Installer


public class Installer
extends java.lang.Object
Manages JSPWiki installation on behalf of admin/Install.jsp. The contents of this class were previously part of Install.jsp.
  • Field Summary

    Modifier and Type Field Description
    static java.lang.String ADMIN_GROUP  
    static java.lang.String ADMIN_ID  
    static java.lang.String ADMIN_NAME  
    static java.lang.String APP_NAME  
    static java.lang.String INSTALL_ERROR  
    static java.lang.String INSTALL_INFO  
    static java.lang.String INSTALL_WARNING  
    static java.lang.String PAGE_DIR  
    static java.lang.String PROPFILENAME  
    static java.lang.String STORAGE_DIR  
    static java.lang.String TMP_DIR  
    static java.lang.String WORK_DIR  
  • Constructor Summary

    Constructor Description
    Installer​(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletConfig config)  
  • Method Summary

    Modifier and Type Method Description
    boolean adminExists()
    Returns true if the administrative user had been created previously.
    java.lang.String createAdministrator()
    Creates an administrative user and returns the new password.
    java.lang.String getPropertiesList()
    Returns the properties as a "key=value" string separated by newlines
    java.lang.String getPropertiesPath()  
    java.lang.String getProperty​(java.lang.String key)
    Returns a property from the Engine's properties.
    void parseProperties()  
    void saveProperties()  
    boolean validateProperties()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait