java.lang.Object
org.codice.ddf.catalog.content.plugin.checksum.Checksum
All Implemented Interfaces:
ddf.catalog.content.plugin.PreCreateStoragePlugin, ddf.catalog.content.plugin.PreUpdateStoragePlugin

public class Checksum extends Object implements ddf.catalog.content.plugin.PreCreateStoragePlugin, ddf.catalog.content.plugin.PreUpdateStoragePlugin
  • Constructor Summary

    Constructors
    Constructor
    Description
    Checksum(List<org.codice.ddf.checksum.ChecksumProvider> checksumProviders)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ddf.catalog.content.operation.CreateStorageRequest
    process(ddf.catalog.content.operation.CreateStorageRequest input)
     
    ddf.catalog.content.operation.UpdateStorageRequest
    process(ddf.catalog.content.operation.UpdateStorageRequest input)
     
    void
    setChecksumAlgorithm(String checksumAlgorithm)
     

    Methods inherited from class java.lang.Object

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

    • Checksum

      public Checksum(List<org.codice.ddf.checksum.ChecksumProvider> checksumProviders)
  • Method Details

    • process

      public ddf.catalog.content.operation.CreateStorageRequest process(ddf.catalog.content.operation.CreateStorageRequest input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.content.plugin.PreCreateStoragePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • process

      public ddf.catalog.content.operation.UpdateStorageRequest process(ddf.catalog.content.operation.UpdateStorageRequest input) throws ddf.catalog.plugin.PluginExecutionException
      Specified by:
      process in interface ddf.catalog.content.plugin.PreUpdateStoragePlugin
      Throws:
      ddf.catalog.plugin.PluginExecutionException
    • setChecksumAlgorithm

      public void setChecksumAlgorithm(String checksumAlgorithm)