Class MigrationsDevConsoleRecorder

java.lang.Object
ac.simons.neo4j.migrations.quarkus.runtime.MigrationsDevConsoleRecorder

public class MigrationsDevConsoleRecorder extends Object
Triggered during development mode for contributing to the dev console.
Author:
Michael J. Simons
  • Constructor Details

    • MigrationsDevConsoleRecorder

      public MigrationsDevConsoleRecorder()
  • Method Details

    • recordMigrationsSupplier

      public Supplier<Migrations> recordMigrationsSupplier(io.quarkus.runtime.RuntimeValue<Migrations> migrationsRv)
      Used to expose the migrations runtime value to the dev console
      Parameters:
      migrationsRv - The runtime value containing the migrations
      Returns:
      A supplier of a runtime object
    • recordHandler

      public io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> recordHandler(io.quarkus.runtime.RuntimeValue<Migrations> migrationsRv)
      Creates the handler for executing migration commands.
      Parameters:
      migrationsRv - The runtime value containing the migrations
      Returns:
      The handler