Class AbstractResourceBasedMigrationProvider

java.lang.Object
ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
All Implemented Interfaces:
Ordered, ResourceBasedMigrationProvider
Direct Known Subclasses:
MarkdownBasedMigrationProvider

public abstract class AbstractResourceBasedMigrationProvider extends Object implements ResourceBasedMigrationProvider
A utility class to avoid duplication of common characteristics of migration providers.
Since:
1.9.0
Author:
Michael J. Simons
  • Constructor Details

    • AbstractResourceBasedMigrationProvider

      protected AbstractResourceBasedMigrationProvider(int order, String extension, boolean supportsArbitraryResourceNames)
      The given parameters are all required.
      Parameters:
      order - The order in which this provider should be consulted
      extension - The file extension that this provider can deal with
      supportsArbitraryResourceNames - A flag if arbitrary resource names are supported in contrast to names that match MigrationVersion.VERSION_PATTERN
  • Method Details