| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2012 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.quicksetup; |
| | |
| | | public static final String CONFIG_PATH_RELATIVE = "config"; |
| | | |
| | | /** |
| | | * The relative path where the archived config files are. |
| | | */ |
| | | public static final String ARCHIVED_CONFIG_PATH_RELATIVE = |
| | | CONFIG_PATH_RELATIVE + File.separator + "archived-configs"; |
| | | |
| | | /** |
| | | * The relative path where the config files are. |
| | | */ |
| | | public static final String HISTORY_PATH_RELATIVE = "history"; |
| | |
| | | |
| | | /** |
| | | * Indicates if the install and instance are in the same directory. |
| | | * @return true if the install and instance are in the same directory. |
| | | */ |
| | | private boolean instanceAndInstallInSameDir; |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns the path to the archived config files under the install path. |
| | | * |
| | | * @return the path to the archived config files under the install path. |
| | | */ |
| | | public File getArchivedConfigsDirectory() { |
| | | return new File(getInstanceDirectory(), ARCHIVED_CONFIG_PATH_RELATIVE); |
| | | } |
| | | |
| | | /** |
| | | * Returns the path to the config files under the install path. |
| | | * |
| | | * @return the path to the config files under the install path. |