Class AbstractAccountMigrator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String I18N_UPDATE_TO_VERSION
      I18N translation key for update to version string
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractAccountMigrator()
      Standardkonstruktor
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void migrate​(de.willuhn.jameica.plugin.Plugin plugin)
      Started die eigentliche Migration.
      protected void uninstallPlugin​(de.willuhn.jameica.plugin.Plugin plugin)
      Entfernt ein PLugin
      abstract void update​(de.willuhn.jameica.hbci.rmi.Konto account)
      Started die eigentliche Migration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • I18N_UPDATE_TO_VERSION

        protected static final java.lang.String I18N_UPDATE_TO_VERSION
        I18N translation key for update to version string
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractAccountMigrator

        protected AbstractAccountMigrator()
        Standardkonstruktor
    • Method Detail

      • migrate

        public abstract void migrate​(de.willuhn.jameica.plugin.Plugin plugin)
                              throws de.willuhn.util.ApplicationException
        Description copied from interface: AccountMigrator
        Started die eigentliche Migration. Es werden der Reihe nach alle installierten Plugins übergeben. Die Klasse ist dann selbst dafür zuständig , zu überprüfen, ob sie ein altes PLugins ersetzt und eine Migration durchgeführt werden muss/kann.
        Specified by:
        migrate in interface AccountMigrator
        Parameters:
        plugin - das zu überprüfende Plugin
        Throws:
        de.willuhn.util.ApplicationException
        See Also:
        AccountMigrator.migrate(Plugin)
      • update

        public abstract void update​(de.willuhn.jameica.hbci.rmi.Konto account)
                             throws de.willuhn.util.ApplicationException
        Description copied from interface: AccountMigrator
        Started die eigentliche Migration. Es werden der Reihe nach alle Konten übergeben. Die Klasse ist dann selbst dafür zuständig, zu überprüfen, ob sie für ein Konto zuständig ist oder nicht.
        Specified by:
        update in interface AccountMigrator
        Throws:
        de.willuhn.util.ApplicationException
        See Also:
        AccountMigrator.migrate(Plugin)
      • uninstallPlugin

        protected void uninstallPlugin​(de.willuhn.jameica.plugin.Plugin plugin)
                                throws de.willuhn.util.ApplicationException
        Entfernt ein PLugin
        Parameters:
        plugin -
        Throws:
        de.willuhn.util.ApplicationException