Package ac.simons.neo4j.migrations.core
Interface MigrationChain.Element
- Enclosing interface:
 - MigrationChain
 
public static interface MigrationChain.Element
A chain element describing a pending or applied migration.
- 
Method Details
- 
getState
MigrationState getState()- Returns:
 - State of this migration.
 
 - 
getType
MigrationType getType()- Returns:
 - The type of the migration.
 
 - 
getChecksum
- Returns:
 - The checksum of this migration if available.
 
 - 
getVersion
String getVersion()- Returns:
 - The schema version after the migration is complete.
 
 - 
getDescription
Deprecated.Since 1.9.0 seegetOptionalDescription()- Returns:
 - The description of the migration.
 
 - 
getOptionalDescription
- Returns:
 - An optional description of the migration represented by this element.
 - Since:
 - 1.9.0
 
 - 
getSource
String getSource()- Returns:
 - The name of the script or class on which this migration is based.
 
 - 
getInstalledOn
Optional<ZonedDateTime> getInstalledOn()- Returns:
 - The timestamp when this migration was installed. (Only for applied migrations)
 
 - 
getInstalledBy
- Returns:
 - The user that installed this migration. (Only for applied migrations)
 
 - 
getExecutionTime
- Returns:
 - The execution time of this migration. (Only for applied migrations)
 
 
 - 
 
getOptionalDescription()