Package ai.velr
Class MigrationReport
java.lang.Object
ai.velr.MigrationReport
Result of an explicit Velr schema migration check or migration run.
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationReport(int fromVersion, int toVersion, MigrationStatus status, List<String> steps) Create a migration report. -
Method Summary
-
Constructor Details
-
MigrationReport
Create a migration report.- Parameters:
fromVersion- schema version before the migration attempttoVersion- current schema version targeted by the runtimestatus- migration outcomesteps- migration steps applied, or an empty list when already current
-
-
Method Details
-
fromVersion
public int fromVersion()Return the schema version observed before migration.- Returns:
- starting schema version
-
toVersion
public int toVersion()Return the schema version expected by this runtime.- Returns:
- target schema version
-
status
Return the migration outcome.- Returns:
- migration status
-
steps
Return the migration steps applied by Velr.- Returns:
- immutable step list
-