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.extensibility.Plugin, org.flywaydb.core.extensibility.PluginMetadata

public class CleanModeCommandExtension extends Object implements org.flywaydb.core.extensibility.CommandExtension
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
     
    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

    getConfigurationParameters, getDescription, getDocumentationLink, getExample, getFlags, getHelpText, getUsage
  • Constructor Details

    • CleanModeCommandExtension

      public CleanModeCommandExtension()
  • 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
    • 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 interface org.flywaydb.core.extensibility.CommandExtension
      Throws:
      org.flywaydb.core.api.FlywayException