@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 |
| 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()
Entry point to retrieve all configuration files and write them to folder
each file will be located under sub folder according to its purpose.
|
void |
pull(Path configurationFolder,
Path licensesFolder) |
void |
push()
push all configuration files and licenses
|
public static final String BONITA_SETUP_FOLDER
public static final String PLATFORM_CONF_FOLDER_NAME
public static final String BONITA_CLIENT_HOME_FOLDER
public void init()
throws PlatformException
PlatformExceptionpublic void push()
throws PlatformException
PlatformExceptionpublic void pull()
throws PlatformException
ConfigurationType for all
available values
For tenant specific files, a tenants/[TENANT_ID] folder is created prior to configuration typePlatformExceptionpublic void pull(Path configurationFolder, Path licensesFolder) throws PlatformException
PlatformExceptionpublic void destroy()
throws PlatformException
PlatformExceptionpublic void initPlatformSetup()
throws PlatformException
PlatformExceptionpublic ConfigurationService getConfigurationService()
Copyright © 2018 Bonitasoft. All rights reserved.