public class Installer extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
C_BOOTSTRAP_EXISTS
Return code for bootstrap config already exists
|
static int |
C_CONFIG_EXISTS
Return code for repository config already exists
|
static int |
C_CONFIG_MISSING
Return code for repository config is missing
|
static int |
C_HOME_EXISTS
Return code for repository home already exists
|
static int |
C_HOME_MISSING
Return code for repository home is missing
|
static int |
C_INSTALL_ERROR
Return code for a general install error
|
static int |
C_INSTALL_OK
Return code for installation succeeded
|
static int |
C_INVALID_INPUT
Return code for invalid input parameter
|
public static final int C_INSTALL_OK
public static final int C_INVALID_INPUT
public static final int C_HOME_EXISTS
public static final int C_HOME_MISSING
public static final int C_CONFIG_EXISTS
public static final int C_CONFIG_MISSING
public static final int C_BOOTSTRAP_EXISTS
public static final int C_INSTALL_ERROR
public Installer(File bootstrapConfigFile, javax.servlet.ServletContext context)
bootstrapConfigFile - the location for the config filecontext - the servlet context for accessing resourcespublic int installRepository(javax.servlet.http.HttpServletRequest req)
throws javax.servlet.ServletException,
IOException
req - the servlet request with the input parametersjavax.servlet.ServletException - if a servlet error occurs.IOException - if an I/O error occurs.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.