Class TestConnectionCommandExtension

java.lang.Object
org.flywaydb.testconnection.TestConnectionCommandExtension
All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>, org.flywaydb.core.extensibility.CommandExtension, org.flywaydb.core.extensibility.Plugin, org.flywaydb.core.extensibility.PluginMetadata

public class TestConnectionCommandExtension extends Object implements org.flywaydb.core.extensibility.CommandExtension
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TestConnectionCommandExtension(org.flywaydb.testconnection.StandardInEnvironmentModelProvider modelProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    List<org.flywaydb.core.internal.util.Pair<String,String>>
     
    org.flywaydb.core.api.output.OperationResult
    handle(String command, org.flywaydb.core.api.configuration.Configuration config, List<String> flags)
     
    boolean
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.flywaydb.core.extensibility.CommandExtension

    getCommandForFlag

    Methods inherited from interface org.flywaydb.core.extensibility.Plugin

    compareTo, copy, getName, getPluginVersion, getPriority, isEnabled, isLicensed

    Methods inherited from interface org.flywaydb.core.extensibility.PluginMetadata

    getAllowedSubCommands, getConfigurationParameters, getDocumentationLink, getExamplePerSubCmd, getExamples, getFlags, getHelpText, getHelpText, inPreview
  • Field Details

  • Constructor Details

    • TestConnectionCommandExtension

      public TestConnectionCommandExtension()
    • TestConnectionCommandExtension

      public TestConnectionCommandExtension(org.flywaydb.testconnection.StandardInEnvironmentModelProvider modelProvider)
  • Method Details

    • handlesCommand

      public boolean handlesCommand(String command)
      Specified by:
      handlesCommand in interface org.flywaydb.core.extensibility.CommandExtension
    • handlesParameter

      public boolean handlesParameter(String parameter)
      Specified by:
      handlesParameter in interface org.flywaydb.core.extensibility.CommandExtension
    • getUsage

      public List<org.flywaydb.core.internal.util.Pair<String,String>> getUsage()
      Specified by:
      getUsage in interface org.flywaydb.core.extensibility.PluginMetadata
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.flywaydb.core.extensibility.PluginMetadata
    • getExample

      public String getExample()
      Specified by:
      getExample in interface org.flywaydb.core.extensibility.PluginMetadata
    • handle

      public org.flywaydb.core.api.output.OperationResult handle(String command, org.flywaydb.core.api.configuration.Configuration config, List<String> flags) throws org.flywaydb.core.api.FlywayException
      Specified by:
      handle in interface org.flywaydb.core.extensibility.CommandExtension
      Throws:
      org.flywaydb.core.api.FlywayException