Class VersionCommandExtension
java.lang.Object
org.flywaydb.commandline.command.version.VersionCommandExtension
- 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 VersionCommandExtension
extends Object
implements org.flywaydb.core.extensibility.CommandExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCommandForFlag
(String flag) getUsage()
org.flywaydb.core.api.output.OperationResult
handle
(String command, org.flywaydb.core.api.configuration.Configuration config, List<String> flags, org.flywaydb.core.FlywayTelemetryManager flywayTelemetryManager) boolean
handlesCommand
(String command) boolean
handlesParameter
(String parameter) 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.Plugin
compareTo, copy, getName, getPluginVersion, getPriority, isEnabled, isLicensed
Methods inherited from interface org.flywaydb.core.extensibility.PluginMetadata
getConfigurationParameters, getDescription, getDocumentationLink, getExample, getFlags, getHelpText, inPreview
-
Field Details
-
VERSION
- See Also:
-
FLAGS
-
-
Constructor Details
-
VersionCommandExtension
public VersionCommandExtension()
-
-
Method Details
-
handlesCommand
- Specified by:
handlesCommand
in interfaceorg.flywaydb.core.extensibility.CommandExtension
-
getCommandForFlag
- Specified by:
getCommandForFlag
in interfaceorg.flywaydb.core.extensibility.CommandExtension
-
handlesParameter
- Specified by:
handlesParameter
in 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:
handle
in interfaceorg.flywaydb.core.extensibility.CommandExtension
- Throws:
org.flywaydb.core.api.FlywayException
-
getUsage
- Specified by:
getUsage
in interfaceorg.flywaydb.core.extensibility.PluginMetadata
-