Package 

Interface IMigrationRecovery

  • All Implemented Interfaces:
    com.onesignal.core.internal.startup.IStartableService

    
    public interface IMigrationRecovery
     implements IStartableService
                        

    Purpose: allow to identify and take corrective action for some specific bad states during migration

    Implement these properties to:

    • isInBadState(): return true the condition for the bad state has met

    • recover(): take a recovery action if the bad state has been identified

    • recoveryMessage: log a message after the bad state is found and the corrective action is taken

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean isInBadState()
      abstract Unit recover()
      abstract String recoveryMessage()
      • Methods inherited from class com.onesignal.user.internal.migrations.IMigrationRecovery

        start
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait