public abstract class DataMigrator extends Named
Constructor and Description |
---|
DataMigrator(java.lang.String name)
creates a data migrator with the given name
|
Modifier and Type | Method and Description |
---|---|
abstract void |
generateMigratorToFile(SourceGenerator sg,
Module module)
generates the migrator code to a file
|
abstract java.lang.String |
getClassName() |
changeName, cleanName, equals, getName
public DataMigrator(java.lang.String name)
name
- unique name of the data migratorpublic abstract java.lang.String getClassName()
public abstract void generateMigratorToFile(SourceGenerator sg, Module module) throws java.io.IOException
sg
- source generationmodule
- module of the migratorjava.io.IOException
- if any issue happens while writing the files