Class NitfPostIngestPlugin

java.lang.Object
org.codice.alliance.plugin.nitf.NitfPostIngestPlugin
All Implemented Interfaces:
ddf.catalog.plugin.PostIngestPlugin

public class NitfPostIngestPlugin extends Object implements ddf.catalog.plugin.PostIngestPlugin
This post-ingest plugin creates and stores the NITF thumbnail and NITF overview images. The thumbnail is stored with the Metacard while the overview and original are stored in the content store.
  • Constructor Details

    • NitfPostIngestPlugin

      public NitfPostIngestPlugin()
    • NitfPostIngestPlugin

      public NitfPostIngestPlugin(Semaphore lock)
  • Method Details

    • process

      public ddf.catalog.operation.CreateResponse process(ddf.catalog.operation.CreateResponse createResponse) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.UpdateResponse process(ddf.catalog.operation.UpdateResponse updateResponse) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.operation.DeleteResponse process(ddf.catalog.operation.DeleteResponse deleteResponse) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.plugin.PostIngestPlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • setMaxSideLength

      public void setMaxSideLength(int maxSideLength)
    • setMaxNitfSizeMB

      public void setMaxNitfSizeMB(int maxNitfSizeMB)
    • setCreateOverview

      public void setCreateOverview(boolean createOverview)
    • setStoreOriginalImage

      public void setStoreOriginalImage(boolean storeOriginalImage)
    • setCatalogFramework

      public void setCatalogFramework(ddf.catalog.CatalogFramework catalogFramework)
    • setNitfParserService

      public void setNitfParserService(org.codice.alliance.imaging.nitf.api.NitfParserService nitfParserService)