Class ScriptExecutionNotificationWithoutScriptReference
- java.lang.Object
-
- software.xdev.micromigration.notification.AbstractScriptExecutionNotification
-
- software.xdev.micromigration.notification.ScriptExecutionNotificationWithoutScriptReference
-
public class ScriptExecutionNotificationWithoutScriptReference extends AbstractScriptExecutionNotification
Same asScriptExecutionNotificationWithScriptReference
but instead of referencing theVersionAgnosticMigrationScript
directly, only the name of the script is extracted through the class name."Why?!" - If you want to persist say a history of your applied scripts in your database and you reference your scripts directly, these classes are referenced in your datastore. That shouldn't be a problem. Except when you refactor or delete these scripts. Usually what's really important is the name of the script.
- Author:
- Johannes Rabauer
-
-
Constructor Summary
Constructors Constructor Description ScriptExecutionNotificationWithoutScriptReference(ScriptExecutionNotificationWithScriptReference originalNotification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExecutedScriptName()
-
Methods inherited from class software.xdev.micromigration.notification.AbstractScriptExecutionNotification
getEndDate, getSourceVersion, getStartDate, getTargetVersion
-
-
-
-
Constructor Detail
-
ScriptExecutionNotificationWithoutScriptReference
public ScriptExecutionNotificationWithoutScriptReference(ScriptExecutionNotificationWithScriptReference originalNotification)
- Parameters:
originalNotification
- where the reference to the script is deleted and the class name is extracted.
-
-