com.atlassian.confluence.upgrade
Class RemoveOldCommentVersionFromParentComment

java.lang.Object
  extended bycom.atlassian.confluence.upgrade.RemoveOldCommentVersionFromParentComment
All Implemented Interfaces:
UpgradeTask

public class RemoveOldCommentVersionFromParentComment
extends Object
implements UpgradeTask

This task fixes the problem found in CONF-2941


Constructor Summary
RemoveOldCommentVersionFromParentComment()
           
 
Method Summary
 void doUpgrade()
           
 String getBuildNumber()
           
 Collection getErrors()
           
 String getShortDescription()
           
 void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveOldCommentVersionFromParentComment

public RemoveOldCommentVersionFromParentComment()
Method Detail

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface UpgradeTask

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface UpgradeTask

doUpgrade

public void doUpgrade()
               throws Exception
Specified by:
doUpgrade in interface UpgradeTask
Throws:
Exception

getErrors

public Collection getErrors()
Specified by:
getErrors in interface UpgradeTask

setSessionFactory

public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)


Confluence is developed by Atlassian.