com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build255

java.lang.Object
  extended by com.atlassian.jira.upgrade.AbstractUpgradeTask
      extended by com.atlassian.jira.upgrade.tasks.UpgradeTask_Build255
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask_Build255
extends AbstractUpgradeTask

Upgrade task that copies old worklog data from the jiraaction table to the new worklog table


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.Status
 
Field Summary
protected static String ACTION_ENTITY_NAME
           
protected static String SEQ_ID
           
protected static long SEQ_INCREMENT_VALUE
           
protected static String SEQ_NAME
           
protected static String SEQUENCE_VALUE_ITEM_ENTITY_NAME
           
protected static String WORKLOG_ENTITY_NAME
           
 
Constructor Summary
UpgradeTask_Build255(org.ofbiz.core.entity.GenericDelegator delegatorInterface)
           
 
Method Summary
 void doUpgrade()
          Perform the upgrade.
 String getBuildNumber()
           
 String getShortDescription()
          A short (<50 chars) description of the upgrade action
 
Methods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, getApplicationProperties, getDelegator, getErrors, getI18nBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_ENTITY_NAME

protected static final String ACTION_ENTITY_NAME
See Also:
Constant Field Values

WORKLOG_ENTITY_NAME

protected static final String WORKLOG_ENTITY_NAME
See Also:
Constant Field Values

SEQUENCE_VALUE_ITEM_ENTITY_NAME

protected static final String SEQUENCE_VALUE_ITEM_ENTITY_NAME
See Also:
Constant Field Values

SEQ_INCREMENT_VALUE

protected static final long SEQ_INCREMENT_VALUE
See Also:
Constant Field Values

SEQ_NAME

protected static final String SEQ_NAME
See Also:
Constant Field Values

SEQ_ID

protected static final String SEQ_ID
See Also:
Constant Field Values
Constructor Detail

UpgradeTask_Build255

public UpgradeTask_Build255(org.ofbiz.core.entity.GenericDelegator delegatorInterface)
Method Detail

getShortDescription

public String getShortDescription()
Description copied from interface: UpgradeTask
A short (<50 chars) description of the upgrade action

Specified by:
getShortDescription in interface UpgradeTask
Overrides:
getShortDescription in class AbstractUpgradeTask

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask
Specified by:
getBuildNumber in class AbstractUpgradeTask
Returns:
The build number that this upgrade is applicable to

doUpgrade

public void doUpgrade()
               throws Exception
Description copied from interface: UpgradeTask
Perform the upgrade.

Specified by:
doUpgrade in interface UpgradeTask
Specified by:
doUpgrade in class AbstractUpgradeTask
Throws:
Exception


Copyright © 2002-2008 Atlassian. All Rights Reserved.