Class ListEnginesCommandExtension
java.lang.Object
org.flywaydb.commandline.command.dbsupport.ListEnginesCommandExtension
- 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 ListEnginesCommandExtension
extends Object
implements org.flywaydb.core.extensibility.CommandExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEngines(org.flywaydb.core.api.configuration.Configuration config) Get the currently supported database engines.getUsage()org.flywaydb.core.api.output.OperationResulthandle(String command, org.flywaydb.core.api.configuration.Configuration config, List<String> flags, org.flywaydb.core.FlywayTelemetryManager flywayTelemetryManager) 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
getConfigurationParameters, getDescription, getDocumentationLink, getExample, getFlags, getHelpText, inPreview
-
Constructor Details
-
ListEnginesCommandExtension
public ListEnginesCommandExtension()
-
-
Method Details
-
handlesCommand
- Specified by:
handlesCommandin interfaceorg.flywaydb.core.extensibility.CommandExtension
-
handlesParameter
- Specified by:
handlesParameterin interfaceorg.flywaydb.core.extensibility.CommandExtension
-
handle
public org.flywaydb.core.api.output.OperationResult handle(String command, org.flywaydb.core.api.configuration.Configuration config, List<String> flags, org.flywaydb.core.FlywayTelemetryManager flywayTelemetryManager) throws org.flywaydb.core.api.FlywayException - Specified by:
handlein interfaceorg.flywaydb.core.extensibility.CommandExtension- Throws:
org.flywaydb.core.api.FlywayException
-
getUsage
- Specified by:
getUsagein interfaceorg.flywaydb.core.extensibility.PluginMetadata
-
getEngines
Get the currently supported database engines.- Parameters:
config- The Flyway configuration.
-