public class Initialization
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXT_PROJECT_DATA_SUFFIX |
static java.lang.String |
LOG_HEADER |
static java.lang.String |
SYSTEM_INITIALIZATION_OP_NAME |
static java.lang.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.
since ages
|
protected static void |
createJUnitTenant()
Deprecated.
since 5.0
|
static void |
createProjectData(JspContext jspc,
boolean forceAll)
Deprecated.
since ages
|
static boolean |
doInitialize(JspContext jspc) |
static boolean |
forceClean(java.util.Map params) |
static java.util.Map<java.lang.String,java.util.List<SystemSetupCollectorResult>> |
getAllPatchesForExtensions() |
static java.util.List<Extension> |
getCreators() |
static SystemSetupCollector |
getSystemSetupCollector() |
static boolean |
hasProjectData(Extension creator)
Deprecated.
since ages
|
static boolean |
hasRunningMasterTenant() |
static void |
initialize(java.util.Map params,
Licence licence) |
static boolean |
initializeTestSystem()
used from ant batch
|
static boolean |
isAnyTenantInitializingGlobally() |
static boolean |
isCurrentTenantInitializing() |
static boolean |
isSystemLocked()
Fetch the config for *each* request, to be able to edit it in runtime.
|
static boolean |
isTenantInitializing(Tenant tenant) |
static boolean |
isTenantInitializingGlobally(Tenant tenant) |
static boolean |
isTenantInitializingLocally(Tenant tenant) |
static boolean |
isUpdateParameter(java.util.Map params) |
static void |
main(java.lang.String[] args) |
protected static void |
putDataSourceParams(java.util.Map params,
java.lang.String dsId,
java.lang.String driver,
boolean slave) |
protected static void |
resetClusterIslandPK() |
static void |
updateSystem()
Deprecated.
since ages
|
static boolean |
updateTestSystem()
used from ant batch
|
public static final java.lang.String LOG_HEADER
public static final java.lang.String SYSTEM_INITIALIZATION_OP_NAME
public static final java.lang.String SYSTEM_UPDATE_OP_NAME
public static final java.lang.String EXT_PROJECT_DATA_SUFFIX
public static boolean isSystemLocked()
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 java.lang.Exception
java.lang.Exceptionpublic static boolean updateTestSystem()
throws java.lang.Exception
java.lang.Exceptionpublic static boolean isUpdateParameter(java.util.Map params)
public static boolean doInitialize(JspContext jspc) throws java.lang.Exception
java.lang.Exception@Deprecated
protected static void createJUnitTenant()
throws ConsistencyCheckException
ConsistencyCheckExceptionpublic static void createAlternativeTestDataSources()
protected static void putDataSourceParams(java.util.Map params,
java.lang.String dsId,
java.lang.String driver,
boolean slave)
@Deprecated
public static void updateSystem()
throws java.lang.Exception
doInitialize(JspContext) instead.java.lang.Exceptionpublic static java.util.Map<java.lang.String,java.util.List<SystemSetupCollectorResult>> getAllPatchesForExtensions()
@Deprecated public static void createEssentialData(JspContext jspc) throws java.lang.Exception
java.lang.Exception@Deprecated public static void createProjectData(JspContext jspc, boolean forceAll) throws java.lang.Exception
java.lang.Exceptionpublic static void initialize(java.util.Map params,
Licence licence)
throws java.lang.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 setjava.lang.Exceptionprotected static void resetClusterIslandPK()
protected static void changeSystemInitUpdateTimestamp()
public static boolean forceClean(java.util.Map params)
public static SystemSetupCollector getSystemSetupCollector()
@Deprecated public static boolean hasProjectData(Extension creator)
SystemSetupCollector.hasProjectData() instead!public static java.util.List<Extension> getCreators()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.