public class UpgradeTask_Build801 extends AbstractNotificationSchemeUpgradeTask
EventType.ISSUE_COMMENT_DELETED_ID
event.UpgradeTask.ScheduleOption, UpgradeTask.Status
Modifier and Type | Field and Description |
---|---|
static String |
DESC_STRING |
static String |
ID_STRING |
static String |
NAME_STRING |
static String |
TYPE_STRING |
Constructor and Description |
---|
UpgradeTask_Build801(OfBizDelegator ofBizDelegator,
EventTypeManager eventTypeManager,
NotificationSchemeManager notificationSchemeManager)
Constructs a new instance with given
OfBizDelegator and EventTypeManager . |
Modifier and Type | Method and Description |
---|---|
String |
dependsUpon()
Return the Upgrade task id of another upgrade task that must be run prior to this task.
|
void |
doUpgrade(boolean setupMode)
Runs the core task which is to create the new Issue Comment Edited and Issue Comment Deleted event type and
update the eventTypeManager with this change
|
String |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
doUpgrade
getScheduleOption
addError, addErrors, addErrors, convertToSchemaTableName, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL
public static final String ID_STRING
public static final String NAME_STRING
public static final String DESC_STRING
public static final String TYPE_STRING
public UpgradeTask_Build801(OfBizDelegator ofBizDelegator, EventTypeManager eventTypeManager, NotificationSchemeManager notificationSchemeManager)
OfBizDelegator
and EventTypeManager
.ofBizDelegator
- OFBiz delegatoreventTypeManager
- event type managerpublic String getShortDescription()
UpgradeTask
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
getBuildNumber
in class AbstractUpgradeTask
public void doUpgrade(boolean setupMode) throws DataAccessException, org.ofbiz.core.entity.GenericEntityException
doUpgrade
in interface UpgradeTask
doUpgrade
in class AbstractUpgradeTask
setupMode
- DataAccessException
- if something goes wrong with database accessorg.ofbiz.core.entity.GenericEntityException
@Nullable public String dependsUpon()
UpgradeTask
dependsUpon
in interface UpgradeTask
dependsUpon
in class AbstractUpgradeTask
Copyright © 2002-2015 Atlassian. All Rights Reserved.