Class InitSearchCommand

java.lang.Object
io.dropwizard.core.cli.Command
org.ctan.site.command.InitSearchCommand

public class InitSearchCommand extends io.dropwizard.core.cli.Command
The class InitSearchCommand contains the command line command to create or initialise the search index.
  • Constructor Summary

    Constructors
    Constructor
    Description
    This is the constructor for InitIndexCommand.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(net.sourceforge.argparse4j.inf.Subparser cli)
    void
    run(io.dropwizard.core.setup.Bootstrap<?> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace)
    Executes when the user runs this command.

    Methods inherited from class io.dropwizard.core.cli.Command

    getDescription, getName, onError

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InitSearchCommand

      public InitSearchCommand()
      This is the constructor for InitIndexCommand.
  • Method Details

    • configure

      public void configure(net.sourceforge.argparse4j.inf.Subparser cli)
      Specified by:
      configure in class io.dropwizard.core.cli.Command
      See Also:
      • Command.configure(net.sourceforge.argparse4j.inf.Subparser)
    • run

      public void run(io.dropwizard.core.setup.Bootstrap<?> bootstrap, net.sourceforge.argparse4j.inf.Namespace namespace) throws Exception
      Executes when the user runs this command.
      Specified by:
      run in class io.dropwizard.core.cli.Command
      Parameters:
      bootstrap - the bootstrap bootstrap
      namespace - the parsed command line namespace
      Throws:
      Exception - if something goes wrong
      See Also:
      • Command.run(io.dropwizard.core.setup.Bootstrap, net.sourceforge.argparse4j.inf.Namespace)