public abstract @interface ProvidedAutoMigrationSpec
implements Annotation

Marks a class as an auto migration spec that will be provided to Room at runtime.

An instance of a class annotated with this annotation has to be provided to Room using Room.databaseBuilder.addAutoMigrationSpec(AutoMigrationSpec). Room will verify that the spec is provided in the builder configuration and if not, an IllegalArgumentException will be thrown.


Inherited methods