public class UpgradeTask_Build602 extends LegacyImmediateUpgradeTask
This is also a setup task to convert the initial administrator and mandatory groups created in the setup process.
UpgradeTask.ScheduleOption, UpgradeTask.Status| Constructor and Description |
|---|
UpgradeTask_Build602(org.ofbiz.core.entity.GenericDelegator genericDelegator,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
com.atlassian.crowd.directory.loader.LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader,
Sequences sequences) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
dependsUpon()
Return the Upgrade task id of another upgrade task that must be run prior to this task.
|
void |
doUpgrade(boolean setupMode)
Perform the upgrade.
|
static void |
flushUserCaches() |
int |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
static String |
lowerUserName(String userName) |
isDowngradeTaskRequiredgetScheduleOptionaddError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgradepublic UpgradeTask_Build602(org.ofbiz.core.entity.GenericDelegator genericDelegator,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
com.atlassian.crowd.directory.loader.LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader,
Sequences sequences)
public int getBuildNumber()
public String getShortDescription()
UpgradeTaskpublic void doUpgrade(boolean setupMode)
throws Exception
UpgradeTasksetupMode - Indicating this upgrade task is running during set up.Exceptionpublic static void flushUserCaches()
@Nullable public Integer dependsUpon()
UpgradeTaskdependsUpon in class AbstractUpgradeTaskCopyright © 2002-2017 Atlassian. All Rights Reserved.