Class UpgradeTask1008ParseUserAttributesToNumericValue

java.lang.Object
com.atlassian.crowd.upgrade.tasks.UpgradeTask1008ParseUserAttributesToNumericValue
All Implemented Interfaces:
UpgradeTask

public class UpgradeTask1008ParseUserAttributesToNumericValue extends Object implements UpgradeTask
  • Constructor Details

    • UpgradeTask1008ParseUserAttributesToNumericValue

      public UpgradeTask1008ParseUserAttributesToNumericValue(org.hibernate.SessionFactory sessionFactory)
  • Method Details

    • getBuildNumber

      public int getBuildNumber()
      Specified by:
      getBuildNumber in interface UpgradeTask
      Returns:
      The build number that this upgrade is applicable to.
    • getShortDescription

      public String getShortDescription()
      Description copied from interface: UpgradeTask
      A short (less than 50 chars) description of the upgrade action
      Specified by:
      getShortDescription in interface UpgradeTask
      Returns:
      description of upgrade task.
    • doUpgrade

      public void doUpgrade() throws Exception
      Description copied from interface: UpgradeTask
      Perform the upgrade.
      Specified by:
      doUpgrade in interface UpgradeTask
      Throws:
      Exception - is thrown if any errors occur during the upgrade process.
    • getBatchOfRows

      protected List<InternalUserAttribute> getBatchOfRows(int startIndex, org.hibernate.Session session)