Package org.flywaydb.clean
Class CleanModeCommandExtension
java.lang.Object
org.flywaydb.clean.CleanModeCommandExtension
- All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>,org.flywaydb.core.extensibility.CommandExtension<org.flywaydb.core.api.output.CleanResult>,org.flywaydb.core.extensibility.Plugin,org.flywaydb.core.extensibility.PluginMetadata
public class CleanModeCommandExtension
extends Object
implements org.flywaydb.core.extensibility.CommandExtension<org.flywaydb.core.api.output.CleanResult>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.flywaydb.core.api.output.CleanResultbooleanhandlesCommand(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
getCommandForFlag, requiresFlywayInstanceMethods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, copy, getName, getPriority, isEnabled, isLicensedMethods inherited from interface org.flywaydb.core.extensibility.PluginMetadata
getAllowedSubCommands, getConfigurationParameters, getDescription, getDocumentationLink, getExample, getExamplePerSubCmd, getExamples, getFlags, getHelpText, getHelpText, getUsage, inPreview
-
Constructor Details
-
CleanModeCommandExtension
public CleanModeCommandExtension()
-
-
Method Details
-
handlesCommand
- Specified by:
handlesCommandin interfaceorg.flywaydb.core.extensibility.CommandExtension<org.flywaydb.core.api.output.CleanResult>
-
handlesParameter
- Specified by:
handlesParameterin interfaceorg.flywaydb.core.extensibility.CommandExtension<org.flywaydb.core.api.output.CleanResult>
-
handle
public org.flywaydb.core.api.output.CleanResult handle(org.flywaydb.core.api.configuration.Configuration config, List<String> flags) throws org.flywaydb.core.api.FlywayException - Specified by:
handlein interfaceorg.flywaydb.core.extensibility.CommandExtension<org.flywaydb.core.api.output.CleanResult>- Throws:
org.flywaydb.core.api.FlywayException
-