Class SqlVersion

  • All Implemented Interfaces:
    Version

    public class SqlVersion
    extends AbstractVersion
    SQL implementation of a version, contains also information about the datasource where the version will be stored
    • Constructor Detail

      • SqlVersion

        public SqlVersion​(String versionHandlerId,
                          String componentId,
                          String versionNumber,
                          Instant executionInstant,
                          String comment,
                          String datasourceId,
                          String databaseType)
        Create a Version, with all standard informations, plus informations about the datasource
        Parameters:
        versionHandlerId - id of the VersionHandler
        componentId - id of the component
        versionNumber - version number of the upgrade that created this version
        executionInstant - time of the application of this version
        comment - comment stored about this version
        datasourceId - datasource id
        databaseType - database type
      • SqlVersion

        protected SqlVersion​(ActionData actionData)
        Create a version from the data of an ActionData and its associated version.
        Parameters:
        actionData - The action data