Package org.ctan.site

Class Ctan

java.lang.Object
io.dropwizard.core.Application<CtanConfiguration>
org.ctan.site.Ctan

public class Ctan extends io.dropwizard.core.Application<CtanConfiguration>
The class Ctan contains the command line interface to start the Dropwizard server.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    initialize(io.dropwizard.core.setup.Bootstrap<CtanConfiguration> bootstrap)
    static void
    main(String[] args)
    The method main provides means to run the Dropwizard application from the command line.
    void
    run(@NonNull CtanConfiguration config, @NonNull io.dropwizard.core.setup.Environment env)

    Methods inherited from class io.dropwizard.core.Application

    addDefaultCommands, bootstrapLogging, bootstrapLogLevel, getConfigurationClass, getName, onFatalError, run

    Methods inherited from class java.lang.Object

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

    • Ctan

      public Ctan()
  • Method Details

    • main

      public static void main(String[] args)
      The method main provides means to run the Dropwizard application from the command line.
      Parameters:
      args - the command line arguments
    • initialize

      public void initialize(io.dropwizard.core.setup.Bootstrap<CtanConfiguration> bootstrap)
      Overrides:
      initialize in class io.dropwizard.core.Application<CtanConfiguration>
      See Also:
      • Application.initialize(io.dropwizard.core.setup.Bootstrap)
    • run

      public void run(@NonNull @NonNull CtanConfiguration config, @NonNull @NonNull io.dropwizard.core.setup.Environment env) throws Exception
      Specified by:
      run in class io.dropwizard.core.Application<CtanConfiguration>
      Throws:
      Exception
      See Also:
      • Application.run(io.dropwizard.core.Configuration, io.dropwizard.core.setup.Environment)