public class UpgradeTask911MigrateOldEvents extends Object implements UpgradeTask
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_TYPE_PARAM |
static String |
EVENT_TYPE_PARAM |
Constructor and Description |
---|
UpgradeTask911MigrateOldEvents(UpgradeUtilityDAOHibernate upgradeUtilityDAOHibernate,
org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
int |
getBuildNumber() |
String |
getShortDescription()
A short (less than 50 chars) description of the upgrade action
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrors
public static final String EVENT_TYPE_PARAM
public static final String ENTITY_TYPE_PARAM
public UpgradeTask911MigrateOldEvents(UpgradeUtilityDAOHibernate upgradeUtilityDAOHibernate, org.hibernate.SessionFactory sessionFactory)
public int getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
- is thrown if any errors occur during the upgrade process.Copyright © 2021 Atlassian. All rights reserved.