public class Initialization extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_HEADER |
static String |
SYSTEM_INITIALIZATION_OP_NAME |
static String |
SYSTEM_UPDATE_OP_NAME |
| Constructor and Description |
|---|
Initialization() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
changeSystemInitUpdateTimestamp() |
static void |
createAlternativeTestDataSources() |
static void |
createEssentialData(JspContext jspc)
Deprecated.
|
protected static void |
createJUnitTenant()
Deprecated.
since 5.0
|
static void |
createProjectData(JspContext jspc,
boolean forceAll)
Deprecated.
|
static boolean |
doInitialize(JspContext jspc) |
static Map<String,List<SystemSetupCollectorResult>> |
getAllPatchesForExtensions() |
static List<Extension> |
getCreators() |
static SystemSetupCollector |
getSystemSetupCollector() |
static boolean |
hasProjectData(Extension creator)
Deprecated.
|
static boolean |
hasRunningMasterTenant() |
static void |
initialize(Map params,
Licence licence) |
static boolean |
initializeTestSystem()
used from ant batch
|
static boolean |
isAnyTenantInitializingGlobally() |
static boolean |
isCurrentTenantInitializing() |
static boolean |
isTenantInitializing(Tenant tenant) |
static boolean |
isTenantInitializingGlobally(Tenant tenant) |
static boolean |
isTenantInitializingLocally(Tenant tenant) |
static boolean |
isUpdateParameter(Map params) |
static void |
main(String[] args) |
protected static void |
putDataSourceParams(Map params,
String dsId,
String driver,
boolean slave) |
protected static void |
resetClusterIslandPK() |
static void |
updateSystem()
Deprecated.
|
static boolean |
updateTestSystem()
used from ant batch
|
public static final String LOG_HEADER
public static final String SYSTEM_INITIALIZATION_OP_NAME
public static final String SYSTEM_UPDATE_OP_NAME
public static boolean isCurrentTenantInitializing()
public static boolean isTenantInitializing(Tenant tenant)
public static boolean isTenantInitializingLocally(Tenant tenant)
public static boolean isTenantInitializingGlobally(Tenant tenant)
public static boolean isAnyTenantInitializingGlobally()
public static boolean hasRunningMasterTenant()
public static boolean initializeTestSystem()
throws Exception
Exceptionpublic static boolean updateTestSystem()
throws Exception
Exceptionpublic static boolean isUpdateParameter(Map params)
public static boolean doInitialize(JspContext jspc) throws Exception
Exception@Deprecated protected static void createJUnitTenant() throws ConsistencyCheckException
ConsistencyCheckExceptionpublic static void createAlternativeTestDataSources()
protected static void putDataSourceParams(Map params, String dsId, String driver, boolean slave)
@Deprecated public static void updateSystem() throws Exception
doInitialize(JspContext) instead.Exceptionpublic static Map<String,List<SystemSetupCollectorResult>> getAllPatchesForExtensions()
@Deprecated public static void createEssentialData(JspContext jspc) throws Exception
Exception@Deprecated public static void createProjectData(JspContext jspc, boolean forceAll) throws Exception
Exceptionpublic static void initialize(Map params, Licence licence) throws Exception
params - map of following parameters: metainformation.systempk - system primary key metainformation.systemname - system namelicence - optional: the licence for the new system, if null the default licence will be setExceptionprotected static void resetClusterIslandPK()
protected static void changeSystemInitUpdateTimestamp()
public static SystemSetupCollector getSystemSetupCollector()
@Deprecated public static boolean hasProjectData(Extension creator)
SystemSetupCollector.hasProjectData() instead!Copyright © 2017 SAP SE. All Rights Reserved.