Class MigrationReport
java.lang.Object
com.codename1.backend.security.migration.MigrationReport
What an IdentityMigration did with every record it was given, and what it
could not carry at all.
Every record lands in exactly one entry: migrated as it was, migrated with an action its owner must take (a password that has to be reset, a second factor to enrol again), or skipped with the reason. Nothing is dropped without an entry, and nothing in an entry is secret -- usernames, providers, credential ids and reasons, never a hash, a key or a TOTP seed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne line of the report.static enumWhat happened to one record. -
Method Summary
Modifier and TypeMethodDescriptionintcount(MigrationReport.Outcome outcome) getEntries(MigrationReport.Outcome outcome) The entries with this outcome.booleanTrue when no record was skipped.booleanisDryRun()Whether nothing was written: the report says what a real run would do.toString()Returns a string representation of the object.
-
Method Details
-
isDryRun
public boolean isDryRun()Whether nothing was written: the report says what a real run would do. -
getEntries
-
getEntries
The entries with this outcome. -
count
-
isComplete
public boolean isComplete()True when no record was skipped. -
toString
Description copied from class:ObjectReturns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of: getClass().getName() + '@' + Integer.toHexString(hashCode())
-