Class AbstractLiquibaseCommand<T extends Configuration>

    • Method Detail

      • configure

        public void configure​(net.sourceforge.argparse4j.inf.Subparser subparser)
        Description copied from class: ConfiguredCommand
        Configure the command's Subparser.

        N.B.: if you override this method, you must call super.override(subparser) in order to preserve the configuration file parameter in the subparser.

        Overrides:
        configure in class ConfiguredCommand<T extends Configuration>
        Parameters:
        subparser - the Subparser specific to the command
      • run

        protected void run​(@Nullable Bootstrap<T> bootstrap,
                           net.sourceforge.argparse4j.inf.Namespace namespace,
                           T configuration)
                    throws Exception
        Description copied from class: ConfiguredCommand
        Runs the command with the given Bootstrap and Configuration.
        Specified by:
        run in class ConfiguredCommand<T extends Configuration>
        Parameters:
        bootstrap - the bootstrap bootstrap
        namespace - the parsed command line namespace
        configuration - the configuration object
        Throws:
        Exception - if something goes wrong
      • run

        protected abstract void run​(net.sourceforge.argparse4j.inf.Namespace namespace,
                                    liquibase.Liquibase liquibase)
                             throws Exception
        Throws:
        Exception