Class ScriptExecutionNotificationWithScriptReference
- java.lang.Object
-
- software.xdev.micromigration.notification.AbstractScriptExecutionNotification
-
- software.xdev.micromigration.notification.ScriptExecutionNotificationWithScriptReference
-
public class ScriptExecutionNotificationWithScriptReference extends AbstractScriptExecutionNotification
Contains data about the execution of a script by aMicroMigrater
.- Author:
- Johannes Rabauer
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutionNotificationWithScriptReference(VersionAgnosticMigrationScript<?,?> executedScript, MigrationVersion sourceVersion, MigrationVersion targetVersion, java.time.LocalDateTime startDate, java.time.LocalDateTime endDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionAgnosticMigrationScript<?,?>
getExecutedScript()
-
Methods inherited from class software.xdev.micromigration.notification.AbstractScriptExecutionNotification
getEndDate, getSourceVersion, getStartDate, getTargetVersion
-
-
-
-
Constructor Detail
-
ScriptExecutionNotificationWithScriptReference
public ScriptExecutionNotificationWithScriptReference(VersionAgnosticMigrationScript<?,?> executedScript, MigrationVersion sourceVersion, MigrationVersion targetVersion, java.time.LocalDateTime startDate, java.time.LocalDateTime endDate)
- Parameters:
executedScript
- script that was executedsourceVersion
- original version of the object before executing the scripttargetVersion
- version of the object after executing the scriptstartDate
- time when the script was startedendDate
- time when the script has finished
-
-
Method Detail
-
getExecutedScript
public VersionAgnosticMigrationScript<?,?> getExecutedScript()
- Returns:
- the script that was executed
-
-