Class ProductResender

java.lang.Object
gov.usgs.earthquake.distribution.ProductResender

public class ProductResender extends Object
A utility class to (re)send an existing product to pdl hubs. Mainly used when one server has not received a product, in order to redistribute the product.
  • Field Details

  • Constructor Details

    • ProductResender

      public ProductResender()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Command Line Interface to ProductResender.
      Parameters:
      args - CLI arguments
      Throws:
      Exception - if error occurs
    • sendProduct

      protected static void sendProduct(ProductBuilder builder, Product product, boolean batchMode) throws Exception
      Sends product to builder
      Parameters:
      builder - ProductBuilder
      product - Product
      batchMode - bool
      Throws:
      Exception - if error occurs