@Component public class PlatformSetup extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BONITA_CLIENT_HOME_FOLDER |
static String |
BONITA_SETUP_FOLDER |
static String |
PLATFORM_CONF_FOLDER_NAME |
| Constructor and Description |
|---|
PlatformSetup() |
PlatformSetup(String dbVendor) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
ConfigurationService |
getConfigurationService() |
void |
init()
Entry point that create the tables and insert the default configuration
|
void |
initPlatformSetup() |
void |
pull(Path configurationFolder,
Path licensesFolder) |
void |
push()
push all configuration files and licenses
|
void |
setDataSource(String driverClassName,
String username,
String password,
String url) |
public static final String BONITA_SETUP_FOLDER
public static final String PLATFORM_CONF_FOLDER_NAME
public static final String BONITA_CLIENT_HOME_FOLDER
public PlatformSetup(String dbVendor)
public PlatformSetup()
public void setDataSource(String driverClassName, String username, String password, String url)
public void init()
throws PlatformException
PlatformExceptionpublic void push()
throws PlatformException
PlatformExceptionpublic void pull(Path configurationFolder, Path licensesFolder) throws PlatformException
PlatformExceptionpublic void destroy()
throws PlatformException
PlatformExceptionpublic void initPlatformSetup()
throws PlatformException
PlatformExceptionpublic ConfigurationService getConfigurationService()
Copyright © 2016 Bonitasoft. All rights reserved.