Package org.codice.alliance.plugin.nitf
Class NitfPostIngestPlugin
java.lang.Object
org.codice.alliance.plugin.nitf.NitfPostIngestPlugin
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionddf.catalog.operation.CreateResponseprocess(ddf.catalog.operation.CreateResponse createResponse) ddf.catalog.operation.DeleteResponseprocess(ddf.catalog.operation.DeleteResponse deleteResponse) ddf.catalog.operation.UpdateResponseprocess(ddf.catalog.operation.UpdateResponse updateResponse) voidsetCatalogFramework(ddf.catalog.CatalogFramework catalogFramework) voidsetCreateOverview(boolean createOverview) voidsetMaxNitfSizeMB(int maxNitfSizeMB) voidsetMaxSideLength(int maxSideLength) voidsetNitfParserService(org.codice.alliance.imaging.nitf.api.NitfParserService nitfParserService) voidsetStoreOriginalImage(boolean storeOriginalImage)
-
Constructor Details
-
NitfPostIngestPlugin
public NitfPostIngestPlugin() -
NitfPostIngestPlugin
-
-
Method Details
-
process
public ddf.catalog.operation.CreateResponse process(ddf.catalog.operation.CreateResponse createResponse) throws ddf.catalog.plugin.PluginExecutionException - Specified by:
processin interfaceddf.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:
processin interfaceddf.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:
processin interfaceddf.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)
-