Class CatalogueUpdateTask

java.lang.Object
io.dropwizard.servlets.tasks.Task
org.ctan.site.tasks.CatalogueUpdateTask

public class CatalogueUpdateTask extends io.dropwizard.servlets.tasks.Task
The class CatalogueUpdateTask contains the task to start the update action from the catalogue XML files.
  • Constructor Details

    • CatalogueUpdateTask

      public CatalogueUpdateTask(@NonNull @NonNull CatalogueImportService service)
      This is the constructor for CatalogueUpdateTask.
      Parameters:
      service - the underlying service
  • Method Details

    • execute

      public void execute(Map<String,List<String>> parameters, PrintWriter output) throws Exception
      Specified by:
      execute in class io.dropwizard.servlets.tasks.Task
      Throws:
      Exception
      See Also:
      • Task.execute(java.util.Map, java.io.PrintWriter)