@@ -0,0 +1,897 @@
+package com.cube.storm.content.lib.manager;%0A%0Aimport java.io.File;%0A%0A/**%0A * Interface for ensuring that the integrity of any new bundle is verified before deployment and enforced after deployment%0A *%0A * @author JR Mitchell%0A */%0Apublic interface BundleIntegrityManager%0A%7B%0A%09/**%0A%09 * Checks the integrity of each file currently stored in the given directory, deleting all files from the directory if its integrity could not be verified%0A%09 *%0A%09 * @param contentPath the path to the bundle directory%0A%09 * @return true if the bundle has the correct integrity, false if it was deleted%0A%09 */%0A%09boolean integrityCheck(String contentPath);%0A%09%0A%09/**%0A%09 * Makes any final changes to the cached directory after deploying the bundle to enforce the integrity of the content%0A%09 *%0A%09 * @param cachePath the path to the directory that the bundle has been deployed into%0A%09 */%0A%09void enforceIntegrityAfterDeployment(File cachePath);%0A%7D%0A

Add BundleIntegrityManager.java interface for ensuring that the integrity of any new bundle is verified before deployment and enforced after deployment