Package org.flywaydb.testconnection
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 -
Constructor Summary
ConstructorsConstructorDescriptionTestConnectionCommandExtension(org.flywaydb.testconnection.StandardInEnvironmentModelProvider modelProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetUsage()org.flywaydb.core.api.output.OperationResulthandle(String command, org.flywaydb.core.api.configuration.Configuration config, List<String> flags) booleanhandlesCommand(String command) booleanhandlesParameter(String parameter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flywaydb.core.extensibility.CommandExtension
getCommandForFlagMethods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, copy, getName, getPluginVersion, getPriority, isEnabled, isLicensedMethods inherited from interface org.flywaydb.core.extensibility.PluginMetadata
getAllowedSubCommands, getConfigurationParameters, getDocumentationLink, getExamplePerSubCmd, getExamples, getFlags, getHelpText, getHelpText, inPreview
-
Field Details
-
VERB
- See Also:
-
-
Constructor Details
-
TestConnectionCommandExtension
public TestConnectionCommandExtension() -
TestConnectionCommandExtension
public TestConnectionCommandExtension(org.flywaydb.testconnection.StandardInEnvironmentModelProvider modelProvider)
-
-
Method Details
-
handlesCommand
- Specified by:
handlesCommandin interfaceorg.flywaydb.core.extensibility.CommandExtension
-
handlesParameter
- Specified by:
handlesParameterin interfaceorg.flywaydb.core.extensibility.CommandExtension
-
getUsage
- Specified by:
getUsagein interfaceorg.flywaydb.core.extensibility.PluginMetadata
-
getDescription
- Specified by:
getDescriptionin interfaceorg.flywaydb.core.extensibility.PluginMetadata
-
getExample
- Specified by:
getExamplein interfaceorg.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:
handlein interfaceorg.flywaydb.core.extensibility.CommandExtension- Throws:
org.flywaydb.core.api.FlywayException
-