public class UpgradeTask_Build601 extends LegacyImmediateUpgradeTask
This is also a setup task, to create an initial directory configuration.
UpgradeTask.ScheduleOption, UpgradeTask.Status
Constructor and Description |
---|
UpgradeTask_Build601(org.ofbiz.core.entity.GenericDelegator genericDelegator,
com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
com.atlassian.crowd.directory.loader.LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader,
ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
protected void |
addJiraApplication() |
protected boolean |
areExternalUsersPresent()
See if there are external users.
|
String |
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.
|
String |
getBuildNumber() |
protected InputStream |
getOSUserXmlStream()
Get the osuser.xml.
|
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
isDowngradeTaskRequired
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL
public UpgradeTask_Build601(org.ofbiz.core.entity.GenericDelegator genericDelegator, com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService, com.atlassian.crowd.directory.loader.LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader, ApplicationProperties applicationProperties)
public String getBuildNumber()
public String getShortDescription()
UpgradeTask
public void doUpgrade(boolean setupMode) throws Exception
UpgradeTask
setupMode
- Indicating this upgrade task is running during set up.Exception
protected void addJiraApplication() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
protected boolean areExternalUsersPresent() throws SQLException
SQLException
protected InputStream getOSUserXmlStream()
@Nullable public String dependsUpon()
UpgradeTask
dependsUpon
in interface UpgradeTask
dependsUpon
in class AbstractUpgradeTask
Copyright © 2002-2016 Atlassian. All Rights Reserved.