Record Class IdbMigrationStrategy.MigrationResult
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.config.migration.IdbMigrationStrategy.MigrationResult
- Record Components:
changeOperations
- Changes that should be applied to the configuration resource collection as a result of this migrationtableNames
- Tables that were successfully and completely migrated
- Enclosing interface:
- IdbMigrationStrategy
public static record IdbMigrationStrategy.MigrationResult(List<ChangeOperation> changeOperations, List<String> tableNames)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationResult
(List<ChangeOperation> changeOperations, List<String> tableNames) Creates an instance of aMigrationResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechangeOperations
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thetableNames
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
MigrationResult
Creates an instance of aMigrationResult
record class.- Parameters:
changeOperations
- the value for thechangeOperations
record componenttableNames
- the value for thetableNames
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
changeOperations
Returns the value of thechangeOperations
record component.- Returns:
- the value of the
changeOperations
record component
-
tableNames
Returns the value of thetableNames
record component.- Returns:
- the value of the
tableNames
record component
-