Class MarkdownBasedMigrationProvider
java.lang.Object
ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
ac.simons.neo4j.migrations.formats.markdown.MarkdownBasedMigrationProvider
- All Implemented Interfaces:
Ordered,ResourceBasedMigrationProvider
Implementation of a
ResourceBasedMigrationProvider that deals with Markdown files under the extension
of .md.- Author:
- Gerrit Meier
-
Field Summary
Fields inherited from interface ac.simons.neo4j.migrations.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle(ResourceContext ctx) Handles the resource of the given context and produces one or more new migrations.Methods inherited from class ac.simons.neo4j.migrations.core.AbstractResourceBasedMigrationProvider
getExtension, getOrder, supportsArbitraryResourceNames
-
Constructor Details
-
MarkdownBasedMigrationProvider
public MarkdownBasedMigrationProvider()Creates a new instance of this provider. It should not be necessary to call this directly, it will be done by the service loader.
-
-
Method Details
-
handle
Description copied from interface:ResourceBasedMigrationProviderHandles the resource of the given context and produces one or more new migrations.- Parameters:
ctx- The context containing the resource and other information- Returns:
- The migrations contained in the resource
-