Class AbstractScriptExecutionNotification
- java.lang.Object
-
- software.xdev.micromigration.notification.AbstractScriptExecutionNotification
-
- Direct Known Subclasses:
ScriptExecutionNotificationWithoutScriptReference
,ScriptExecutionNotificationWithScriptReference
public abstract class AbstractScriptExecutionNotification extends java.lang.Object
Contains data about the execution of a script by aMicroMigrater
.- Author:
- Johannes Rabauer
-
-
Constructor Summary
Constructors Constructor Description AbstractScriptExecutionNotification(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 java.time.LocalDateTime
getEndDate()
MigrationVersion
getSourceVersion()
java.time.LocalDateTime
getStartDate()
MigrationVersion
getTargetVersion()
-
-
-
Constructor Detail
-
AbstractScriptExecutionNotification
public AbstractScriptExecutionNotification(MigrationVersion sourceVersion, MigrationVersion targetVersion, java.time.LocalDateTime startDate, java.time.LocalDateTime endDate)
- Parameters:
sourceVersion
- 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
-
getSourceVersion
public MigrationVersion getSourceVersion()
- Returns:
- the original version of the object before executing the script
-
getTargetVersion
public MigrationVersion getTargetVersion()
- Returns:
- the version of the object after executing the script
-
getStartDate
public java.time.LocalDateTime getStartDate()
- Returns:
- the time when the script was started
-
getEndDate
public java.time.LocalDateTime getEndDate()
- Returns:
- time when the script has finished
-
-