public class EnvManager extends Object
Constructor and Description |
---|
EnvManager() |
Modifier and Type | Method and Description |
---|---|
static void |
createHomeDir(String homeDir)
Creates the environment home directory, deleting any existing data files
if the directory already exists.
|
static void |
removeFiles(String homeDir)
Deletes all the data files associated with the environment.
|
public EnvManager()
public static void createHomeDir(String homeDir) throws JebException
homeDir
- The backend home directory.JebException
- If an error occurs in the JE backend.public static void removeFiles(String homeDir) throws JebException
homeDir
- The backend home directoryJebException
- If an error occurs in the JE backend or if the
specified home directory does not exist.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.